From: Harald Hoyer Date: Fri, 25 May 2012 12:55:26 +0000 (+0200) Subject: test/TEST-01-BASIC: fail test, if qemu failed X-Git-Tag: v184~32 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=6ea4364c7b40d21464b5fc64d6c5506658eb9401;ds=sidebyside test/TEST-01-BASIC: fail test, if qemu failed --- diff --git a/test/TEST-01-BASIC/test.sh b/test/TEST-01-BASIC/test.sh index 19676454a..efdf449a8 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