chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f7c05f7
)
test/TEST-01-BASIC: fail test, if qemu failed
author
Harald Hoyer
<harald@redhat.com>
Fri, 25 May 2012 12:55:26 +0000
(14:55 +0200)
committer
Harald Hoyer
<harald@redhat.com>
Tue, 29 May 2012 07:23:37 +0000
(09:23 +0200)
test/TEST-01-BASIC/test.sh
patch
|
blob
|
history
diff --git
a/test/TEST-01-BASIC/test.sh
b/test/TEST-01-BASIC/test.sh
index 19676454ac55c33806a72221c5b3f59c4ab5c8fb..efdf449a82384b6924186facaa22e57355696910 100755
(executable)
--- 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 \
-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
ret=1
mkdir -p $TESTDIR/root
mount ${LOOPDEV}p1 $TESTDIR/root