From: Harald Hoyer Date: Fri, 21 Jul 2017 12:44:20 +0000 (+0200) Subject: TEST-12: sleep to get log messages X-Git-Tag: 046~33 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a1d92d8ace6e06b62635e38d76e734a630e34ed2;p=thirdparty%2Fdracut.git TEST-12: sleep to get log messages --- diff --git a/test/TEST-12-RAID-DEG/hard-off.sh b/test/TEST-12-RAID-DEG/hard-off.sh index cf44fb0bb..24668d9c4 100755 --- a/test/TEST-12-RAID-DEG/hard-off.sh +++ b/test/TEST-12-RAID-DEG/hard-off.sh @@ -1,3 +1,4 @@ #!/bin/sh +sleep 10 getargbool 0 rd.shell || poweroff -f ! getargbool 0 rd.break && getargbool 0 failme && poweroff -f diff --git a/test/TEST-12-RAID-DEG/test.sh b/test/TEST-12-RAID-DEG/test.sh index 038637c14..b236f51fc 100755 --- a/test/TEST-12-RAID-DEG/test.sh +++ b/test/TEST-12-RAID-DEG/test.sh @@ -20,7 +20,7 @@ client_run() { -drive format=raw,index=3,media=disk,file=$TESTDIR/disk3.img.new \ -net none \ -no-reboot \ - -append "panic=1 $* root=LABEL=root rw rd.retry=10 rd.info console=ttyS0,115200n81 selinux=0 rd.debug rd.shell=0 $DEBUGFAIL " \ + -append "panic=1 $* root=LABEL=root rw rd.retry=10 rd.info console=ttyS0,115200n81 log_buf_len=2M selinux=0 rd.debug rd.shell=0 $DEBUGFAIL " \ -initrd $TESTDIR/initramfs.testing if ! grep -F -m 1 -q dracut-root-block-success $TESTDIR/root.ext2; then echo "CLIENT TEST END: $@ [FAIL]"