From 6ea4364c7b40d21464b5fc64d6c5506658eb9401 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Fri, 25 May 2012 14:55:26 +0200 Subject: [PATCH] test/TEST-01-BASIC: fail test, if qemu failed --- test/TEST-01-BASIC/test.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/TEST-01-BASIC/test.sh b/test/TEST-01-BASIC/test.sh index 19676454..efdf449a 100755 --- a/test/TEST-01-BASIC/test.sh +++ b/test/TEST-01-BASIC/test.sh @@ -15,7 +15,8 @@ run_qemu() { -hda $TESTDIR/rootdisk.img \ -m 256M -nographic \ -net none -kernel /boot/vmlinuz-$KVERSION \ - -append "root=/dev/sda1 systemd.log_level=debug raid=noautodetect loglevel=2 init=/usr/lib/systemd/systemd rw console=ttyS0,115200n81 selinux=0 $DEBUGFAIL" + -append "root=/dev/sda1 systemd.log_level=debug raid=noautodetect loglevel=2 init=/usr/lib/systemd/systemd rw console=ttyS0,115200n81 selinux=0 $DEBUGFAIL" || return 1 + ret=1 mkdir -p $TESTDIR/root mount ${LOOPDEV}p1 $TESTDIR/root -- 2.39.5