#
_require_quota()
{
- [ -x /usr/bin/quota ] || _notrun "Quota user tools not installed"
+ [ -n $QUOTA_PROG ] || _notrun "Quota user tools not installed"
if [ $FSTYP = "xfs" ]; then
[ -f /proc/fs/xfs/xqmstat ] || _notrun "Installed kernel does not support XFS quota"
elif [ $FSTYP != "gfs2" ]; then
{
src/feature -q $TEST_DEV
[ $? -ne 0 ] && _notrun "Installed kernel does not support XFS quota"
- [ -x /usr/sbin/xfs_quota ] || _notrun "XFS quota user tools not installed"
+ [ -n $XFS_QUOTA_PROG ] || _notrun "XFS quota user tools not installed"
}
#