From a1d92d8ace6e06b62635e38d76e734a630e34ed2 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Fri, 21 Jul 2017 14:44:20 +0200 Subject: [PATCH] TEST-12: sleep to get log messages --- test/TEST-12-RAID-DEG/hard-off.sh | 1 + test/TEST-12-RAID-DEG/test.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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]" -- 2.47.3