tests: use the poweroff pkg in test-kernel-config

Signed-off-by: Dave Tucker <dt@docker.com>
This commit is contained in:
Dave Tucker
2017-04-12 12:04:49 +01:00
parent 05767273f3
commit fb4d621833
2 changed files with 6 additions and 4 deletions

View File

@@ -2,7 +2,6 @@
function failed {
printf "Kernel config test suite FAILED\n"
/sbin/poweroff -f
}
/check-kernel-config.sh || failed
@@ -11,5 +10,3 @@ bash /check-config.sh || failed
printf "Kernel config test suite PASSED\n"
cat /etc/linuxkit
/sbin/poweroff -f