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
+2
-2
@@ -44,7 +44,7 @@ _check_paths()
|
||||
sync; sleep 1
|
||||
echo ""
|
||||
echo "Check parent"
|
||||
if ! xfs_io -x -c 'parent -c' $SCRATCH_MNT | _filter_num; then
|
||||
if ! $XFS_IO_PROG -x -c 'parent -c' $SCRATCH_MNT | _filter_num; then
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
@@ -55,7 +55,7 @@ _print_names()
|
||||
echo "Print out hardlink names for given path, $1"
|
||||
echo ""
|
||||
|
||||
xfs_io -x -c parent $1 | awk '/p_ino.*=/ {$3 = "inodeXXX"; print; next} {print}'
|
||||
$XFS_IO_PROG -x -c parent $1 | awk '/p_ino.*=/ {$3 = "inodeXXX"; print; next} {print}'
|
||||
}
|
||||
|
||||
_test_create()
|
||||
|
||||
Reference in New Issue
Block a user