test/TEST-01-BASIC: fail test, if qemu failed

This commit is contained in:
Harald Hoyer 2012-05-25 14:55:26 +02:00
parent f7c05f7de6
commit 6ea4364c7b

View File

@ -15,7 +15,8 @@ run_qemu() {
-hda $TESTDIR/rootdisk.img \ -hda $TESTDIR/rootdisk.img \
-m 256M -nographic \ -m 256M -nographic \
-net none -kernel /boot/vmlinuz-$KVERSION \ -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 ret=1
mkdir -p $TESTDIR/root mkdir -p $TESTDIR/root
mount ${LOOPDEV}p1 $TESTDIR/root mount ${LOOPDEV}p1 $TESTDIR/root