Files
linuxkit/test/check/check.sh
Justin Cormack 5746d3d2bf Move test related code to the test directory
This does not yet move the `make test` options in the Makefile, will
probably move those too later.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-03-20 16:14:06 +00:00

16 lines
221 B
Bash
Executable File

#!/bin/sh
function failed {
printf "Moby test suite FAILED\n"
/sbin/poweroff -f
}
/check-kernel-config.sh || failed
bash /check-config.sh || failed
printf "Moby test suite PASSED\n"
cat /etc/moby
/sbin/poweroff -f