xfs: use $XFS_QUOTA_PROG instead of hardcoding xfs_quota
[xfstests-dev.git] / tests / xfs / 007
index d1946524e8136903494248a1b3a5508266e11ce3..66f1f101e9a9fde30b66822401ec1cb81874d8e9 100755 (executable)
@@ -40,11 +40,11 @@ do_test()
 
        _qmount
        echo "*** turn off $off_opts quotas"
-       xfs_quota -x -c "off -$off_opts" $SCRATCH_MNT
+       $XFS_QUOTA_PROG -x -c "off -$off_opts" $SCRATCH_MNT
        _scratch_unmount
        _qmount_option ""
        _scratch_mount
-       xfs_quota -x -c "remove -$off_opts" $SCRATCH_MNT
+       $XFS_QUOTA_PROG -x -c "remove -$off_opts" $SCRATCH_MNT
        echo "*** umount"
        _scratch_unmount