mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
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:
committed by
Eryu Guan
parent
16ef0843f2
commit
3fcfdba403
+1
-1
@@ -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" -c "fsync" $file > /dev/null
|
||||
$XFS_IO_PROG -f -c "pwrite -b 32k -S 0xff 0 32k" -c "fsync" $file > /dev/null
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
echo error creating/writing file $file
|
||||
|
||||
Reference in New Issue
Block a user