Files
Rolf Neugebauer 885e6a7f0a tests: Add a test for the binfmt package
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-05-29 11:42:07 +01:00

13 lines
251 B
Bash
Executable File

#!/bin/sh
function failed {
printf "binfmt test suite FAILED\n" >&1
exit 1
}
[ -e /binfmt_misc/qemu-aarch64 ] || failed
[ -e /binfmt_misc/qemu-arm ] || failed
[ -e /binfmt_misc/qemu-ppc64le ] || failed
printf "binfmt test suite PASSED\n" >&1