xfstests: automatically add -F to xfs_io on non-xfs
[xfstests-dev.git] / tests / generic / 226
index 8b8f10164ce47dbffe9362c23affe48dcb8ebd97..b98e8898da2fed1351874a5aabb07ef413f4c938 100755 (executable)
@@ -54,7 +54,7 @@ buffer="-b $(expr 512 \* 1024)"
 echo "--> $loops buffered 64m writes in a loop"
 for I in `seq 1 $loops`; do
        echo -n "$I "
-       xfs_io -F -f \
+       $XFS_IO_PROG -f \
                -c "pwrite ${buffer} 0 64m" $SCRATCH_MNT/test >> $seqres.full
        rm -f $SCRATCH_MNT/test
 done
@@ -66,7 +66,7 @@ _scratch_mount
 echo "--> $loops direct 64m writes in a loop"
 for I in `seq 1 $loops`; do
        echo -n "$I "
-       xfs_io -F -f -d \
+       $XFS_IO_PROG -f -d \
                -c "pwrite ${buffer} 0 64m" $SCRATCH_MNT/test >> $seqres.full
        rm -f $SCRATCH_MNT/test 
 done