linuxkit/test/cases/040_packages/009_init_containerd/check.sh
David Scott 9d16e2a2b9 test: the README.md says the numbers correspond to the first letter
A few of these tests appear to be misnumbered, so renumber them.

Signed-off-by: David Scott <dave@recoil.org>
2021-10-26 20:04:51 +01:00

14 lines
271 B
Bash

#!/bin/sh
function failed {
printf "containerd commandline vars not set: FAILED\n" >/dev/console
/sbin/poweroff -f
exit 1
}
ps -ef | grep containerd | grep -q trace || failed
printf "containerd commandline vars test suite PASSED\n" >/dev/console
/sbin/poweroff -f