tests: Fix qemu test for EFI firmware

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
Rolf Neugebauer 2017-05-22 13:39:36 +01:00
parent 822d179a2b
commit c1902f7157

View File

@ -19,9 +19,9 @@ clean_up() {
trap clean_up EXIT
if command -v qemu; then
if command -v qemu-system-x86_64; then
if [ ! -f /usr/share/ovmf/bios.bin ]; then
exit RT_CANCEL
exit $RT_CANCEL
fi
fi