mirror of
https://github.com/token2/snapd.git
synced 2026-03-13 11:15:47 -07:00
* tests: add details for core tests suite * Update tests/core/services/task.yaml Co-authored-by: Oliver Calder <oliver@calder.dev> * Update tests/core/snap-auto-import-asserts-spools/task.yaml Co-authored-by: Oliver Calder <oliver@calder.dev> * Update tests/core/snap-core-fixup/task.yaml Co-authored-by: Oliver Calder <oliver@calder.dev> * Update tests/core/snap-auto-import-asserts/task.yaml Co-authored-by: Oliver Calder <oliver@calder.dev> * Update tests/core/snapd-failover/task.yaml Co-authored-by: Oliver Calder <oliver@calder.dev> * Update tests/core/uc20-recovery/task.yaml Co-authored-by: Oliver Calder <oliver@calder.dev> * Update tests/core/snapd-failover/task.yaml Co-authored-by: Oliver Calder <oliver@calder.dev> * Update tests/core/snapd-refresh-vs-services/task.yaml Co-authored-by: Oliver Calder <oliver@calder.dev> --------- Co-authored-by: Oliver Calder <oliver@calder.dev>
18 lines
574 B
YAML
18 lines
574 B
YAML
summary: Ensure all services on Core are active
|
|
|
|
details: |
|
|
The test verifies that the snapd.autoimport, snapd.sshd-keygen, snapd,
|
|
and snapd.snap-repair services are active in Ubuntu Core systems.
|
|
|
|
execute: |
|
|
echo "Ensure one-shot services are working"
|
|
for oneshot in snapd.autoimport.service snapd.sshd-keygen.service; do
|
|
systemctl status "$oneshot" |MATCH SUCCESS
|
|
done
|
|
|
|
echo "Ensure services are working"
|
|
systemctl status snapd.service |MATCH active
|
|
|
|
echo "Ensure timers are working"
|
|
systemctl is-active snapd.snap-repair.timer
|