xfs: abstract xfs_info into $XFS_INFO_PROG

Abstract calls to xfs_info into $XFS_INFO_PROG like we do for all
other xfs utilities.

[Eryu: require xfs_info to be present if FSTYP is xfs]

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
Darrick J. Wong
2018-06-05 09:43:27 -07:00
committed by Eryu Guan
parent 0fca2e5233
commit 4609a0009d
34 changed files with 47 additions and 45 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ _scratch_cycle_mount
echo "Create more copies"
cp -p $testdir/original $testdir/copy3
xfs_info $SCRATCH_MNT >> $seqres.full
$XFS_INFO_PROG $SCRATCH_MNT >> $seqres.full
# success, all done
status=0