fstests: fix call sites that used xfs_io directly

Convert those few remaining call sites to use the XFS_IO_PROG env var.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
This commit is contained in:
Amir Goldstein
2016-10-17 10:23:32 +03:00
committed by Eryu Guan
parent 16ef0843f2
commit 3fcfdba403
17 changed files with 26 additions and 26 deletions
+2 -2
View File
@@ -59,7 +59,7 @@ _scratch_mount >> $seqres.full 2>&1
# set the reserved block pool to almost empty for XFS
if [ "$FSTYP" = "xfs" ]; then
xfs_io -x -c "resblks 4" $SCRATCH_MNT >> $seqres.full 2>&1
$XFS_IO_PROG -x -c "resblks 4" $SCRATCH_MNT >> $seqres.full 2>&1
fi
FILES=1000
@@ -71,7 +71,7 @@ for i in `seq 0 1 $FILES`; do
# tripped over.
(
sleep 5
xfs_io -f -c "truncate 10485760" $SCRATCH_MNT/testfile.$i
$XFS_IO_PROG -f -c "truncate 10485760" $SCRATCH_MNT/testfile.$i
dd if=/dev/zero of=$SCRATCH_MNT/testfile.$i bs=4k conv=notrunc
) > /dev/null 2>&1 &
done