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
+1 -1
View File
@@ -81,7 +81,7 @@ i=1;
while [ $i -lt 1000 ]
do
file=$SCRATCH_MNT/$i
xfs_io -f -c "pwrite -b 32k -S 0xff 0 32k" $file > /dev/null
$XFS_IO_PROG -f -c "pwrite -b 32k -S 0xff 0 32k" $file > /dev/null
if [ $? -ne 0 ]
then
echo error creating/writing file $file