diff options
Diffstat (limited to 'test/TEST-10-RAID/test.sh')
-rwxr-xr-x | test/TEST-10-RAID/test.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/TEST-10-RAID/test.sh b/test/TEST-10-RAID/test.sh index e11c5185..ffce8fc7 100755 --- a/test/TEST-10-RAID/test.sh +++ b/test/TEST-10-RAID/test.sh @@ -14,7 +14,7 @@ test_run() { -net none -kernel /boot/vmlinuz-$KVERSION \ -append "root=/dev/dracut/root rd.auto rw rd.retry=10 console=ttyS0,115200n81 selinux=0 $DEBUGFAIL" \ -initrd $TESTDIR/initramfs.testing - grep -m 1 -q dracut-root-block-success $DISKIMAGE || return 1 + grep -F -m 1 -q dracut-root-block-success $DISKIMAGE || return 1 } test_setup() { @@ -35,6 +35,7 @@ test_setup() { [ -f ${_terminfodir}/l/linux ] && break done dracut_install -o ${_terminfodir}/l/linux + inst_simple /etc/os-release inst ./test-init.sh /sbin/init inst "$basedir/modules.d/40network/dhclient-script.sh" "/sbin/dhclient-script" inst "$basedir/modules.d/40network/ifup.sh" "/sbin/ifup" @@ -71,8 +72,8 @@ test_setup() { -kernel "/boot/vmlinuz-$kernel" \ -append "root=/dev/cannotreach rw rootfstype=ext2 console=ttyS0,115200n81 selinux=0" \ -initrd $TESTDIR/initramfs.makeroot || return 1 - grep -m 1 -q dracut-root-block-created $DISKIMAGE || return 1 - eval $(grep -a -m 1 ID_FS_UUID $DISKIMAGE) + grep -F -m 1 -q dracut-root-block-created $DISKIMAGE || return 1 + eval $(grep -F -a -m 1 ID_FS_UUID $DISKIMAGE) ( export initdir=$TESTDIR/overlay |