Skip to content

Commit

Permalink
tests/container: Test container clean stop
Browse files Browse the repository at this point in the history
Signed-off-by: hamistao <[email protected]>
  • Loading branch information
hamistao committed Sep 9, 2024
1 parent feb18b9 commit ddbe38c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/container
Original file line number Diff line number Diff line change
Expand Up @@ -147,5 +147,10 @@ lxc exec u1 -- mkdir /root/sys
lxc exec u1 -- mount -t sysfs sysfs /root/sys
lxc delete -f u1


echo "==> Try cleanly stopping a container"
lxc launch "${IMAGE}" c1
lxc restart c1

# shellcheck disable=SC2034
FAIL=0

0 comments on commit ddbe38c

Please sign in to comment.