chiark / gitweb /
test/TEST-01-BASIC: fail test, if qemu failed
authorHarald Hoyer <harald@redhat.com>
Fri, 25 May 2012 12:55:26 +0000 (14:55 +0200)
committerHarald Hoyer <harald@redhat.com>
Tue, 29 May 2012 07:23:37 +0000 (09:23 +0200)
test/TEST-01-BASIC/test.sh

index 1967645..efdf449 100755 (executable)
@@ -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