mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
move test for xfs kernel quota into common.quota.
This commit is contained in:
+3
-2
@@ -39,12 +39,13 @@
|
||||
#
|
||||
_require_quota()
|
||||
{
|
||||
src/feature -q $SCRATCH_DEV
|
||||
[ $? -ne 0 ] && _notrun "Installed kernel does not support XFS quota"
|
||||
|
||||
[ ! -x /usr/sbin/repquota ] && _notrun "Quota user tools not installed"
|
||||
|
||||
/usr/sbin/repquota -m -s -a >/dev/null 2>&1
|
||||
[ $? -ne 0 ] && _notrun "Installed quota tools do not support XFS"
|
||||
|
||||
[ ! -f /proc/fs/xfs/xqm ] && _notrun "Kernel does not support XFS quota"
|
||||
}
|
||||
|
||||
# create a file as a specific user (uid)
|
||||
|
||||
Reference in New Issue
Block a user