diff options
author | Frederic Barrat <fbarrat@linux.ibm.com> | 2021-11-05 18:26:15 +0100 |
---|---|---|
committer | Cédric Le Goater <clg@kaod.org> | 2021-11-05 18:51:12 +0100 |
commit | b2cd4a373b581c4af1af5693bad11b6ecb90e689 (patch) | |
tree | a60d960b1f6d772632684668b2d590fa3729165e | |
parent | 17978d7fb03c991a4a2cf39e291b43b0537dc6e1 (diff) | |
download | skiboot-b2cd4a373b581c4af1af5693bad11b6ecb90e689.zip skiboot-b2cd4a373b581c4af1af5693bad11b6ecb90e689.tar.gz skiboot-b2cd4a373b581c4af1af5693bad11b6ecb90e689.tar.bz2 |
test/qemu: Fix test
Fix a syntax error in the expect script.
Add -nographic when starting qemu to avoid problems on systems where
gtk is installed.
Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
-rwxr-xr-x | test/run_qemu_boot_test.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/run_qemu_boot_test.sh b/test/run_qemu_boot_test.sh index 791a750..aefd911 100755 --- a/test/run_qemu_boot_test.sh +++ b/test/run_qemu_boot_test.sh @@ -2,6 +2,7 @@ QEMU_ARGS="-M powernv -nodefaults -device ipmi-bmc-sim,id=bmc0 -serial none" QEMU_ARGS+=" -device isa-serial,chardev=s1 -chardev stdio,id=s1,signal=off" +QEMU_ARGS+=" -nographic" if [ -z "$QEMU_BIN" ]; then QEMU_BIN="qemu-system-ppc64" @@ -38,7 +39,7 @@ set timeout 600 spawn $QEMU_BIN $QEMU_ARGS -bios skiboot.lid -kernel $SKIBOOT_ZIMAGE expect { timeout { send_user "\nTimeout waiting for petitboot\n"; exit 1 } -eof { send_user "\nUnexpected EOF\n;" exit 1 } +eof { send_user "\nUnexpected EOF\n"; exit 1 } "Could not load OPAL firmware" { send_user "\nSkiboot is too large for this Qemu, skipping\n"; exit 4; } "Machine Check Stop" { exit 1; } "Trying to write privileged spr 338" { send_user "\nUpgrade Qemu: needs PCR register\n"; exit 3 } |