fstests: fix call sites that used xfs_io directly
[xfstests-dev.git] / tests / generic / 044
index f46e8289f5b10f743cfa27fceab2c0fde54e4e75..0331baa6bb9670f8d72a63322e9a1aba5cbbcef5 100755 (executable)
@@ -50,13 +50,13 @@ i=1;
 while [ $i -lt 1000 ]
 do
        file=$SCRATCH_MNT/$i
-       xfs_io -f -c "pwrite -b 64k -S 0xff 0 64k" $file > /dev/null
+       $XFS_IO_PROG -f -c "pwrite -b 64k -S 0xff 0 64k" $file > /dev/null
        if [ $? -ne 0 ]
        then
                echo error creating/writing file $file
                exit
        fi
-       xfs_io -c "truncate 64k" $file > /dev/null
+       $XFS_IO_PROG -c "truncate 64k" $file > /dev/null
        if [ $? -ne 0 ]
        then
                echo error truncating file $file