xfs: use $XFS_QUOTA_PROG instead of hardcoding xfs_quota
[xfstests-dev.git] / tests / xfs / 108
index 0af22443ae5ea891532885f1278a869a41fbafd4..8a102133a622ca1e84724c6fa726b4dae3734bb5 100755 (executable)
@@ -47,9 +47,9 @@ test_accounting()
        for file in $SCRATCH_MNT/{buffer,direct,mmap}; do
                $here/src/lstat64 $file | head -3 | _filter_scratch
        done
-       xfs_quota -c "quota -hnb -$type $id" $QARGS | _filter_quota
-       xfs_quota -c "quota -hni -$type $id" $QARGS | _filter_quota
-       xfs_quota -c "quota -hnr -$type $id" $QARGS | _filter_quota
+       $XFS_QUOTA_PROG -c "quota -hnb -$type $id" $QARGS | _filter_quota
+       $XFS_QUOTA_PROG -c "quota -hni -$type $id" $QARGS | _filter_quota
+       $XFS_QUOTA_PROG -c "quota -hnr -$type $id" $QARGS | _filter_quota
 }
 
 export MOUNT_OPTIONS="-opquota"