diff --git a/test/shell/mdata-strings.sh b/test/shell/mdata-strings.sh index fda09ecd6..d20234b99 100644 --- a/test/shell/mdata-strings.sh +++ b/test/shell/mdata-strings.sh @@ -37,7 +37,7 @@ dm_table | grep -F "$pv_ugly" created="$dev1" # when used with real udev without fallback, it will fail here pvcreate "$dev1" || created="$dev2" -pvdisplay 2>&1 | tee >err +pvdisplay 2>&1 | tee err should grep -F "$pv_ugly" err should check pv_field "$dev1" pv_name "$dev1" vgcreate $vg "$created" diff --git a/test/shell/thin-resize-match.sh b/test/shell/thin-resize-match.sh index d5481e24d..4c6332d39 100644 --- a/test/shell/thin-resize-match.sh +++ b/test/shell/thin-resize-match.sh @@ -34,7 +34,7 @@ check lv_field $vg/$lv1 size "2.00m" # prepare 2097152 file content seq 0 315465 > 2M md5sum 2M | cut -f 1 -d ' ' | tee MD5 -dd if=2M of="$DM_DEV_DIR/mapper/$vg-$lv1" bs=512K conv=fdatasync 2>&1 >log & +dd if=2M of="$DM_DEV_DIR/mapper/$vg-$lv1" bs=512K conv=fdatasync >log 2>&1 & #dd if=2M of="$DM_DEV_DIR/mapper/$vg-$lv1" bs=2M oflag=direct & # give it some time to fill thin-volume