@@ -23,7 +23,10 @@ _require_quota
echo "Format and populate"
_scratch_populate_cached nofill > $seqres.full 2>&1
-echo "${MOUNT_OPTIONS}" | grep -q 'usrquota' || _notrun "user quota disabled"
+
+_scratch_mount
+$here/src/feature -U $SCRATCH_DEV || _notrun "user quota disabled"
+_scratch_unmount
_scratch_xfs_set_quota_fuzz_ids
@@ -23,7 +23,10 @@ _require_quota
echo "Format and populate"
_scratch_populate_cached nofill > $seqres.full 2>&1
-echo "${MOUNT_OPTIONS}" | grep -q 'usrquota' || _notrun "user quota disabled"
+
+_scratch_mount
+$here/src/feature -U $SCRATCH_DEV || _notrun "user quota disabled"
+_scratch_unmount
_scratch_xfs_set_quota_fuzz_ids
@@ -23,7 +23,10 @@ _require_quota
echo "Format and populate"
_scratch_populate_cached nofill > $seqres.full 2>&1
-echo "${MOUNT_OPTIONS}" | grep -q 'grpquota' || _notrun "group quota disabled"
+
+_scratch_mount
+$here/src/feature -G $SCRATCH_DEV || _notrun "group quota disabled"
+_scratch_unmount
_scratch_xfs_set_quota_fuzz_ids
@@ -23,7 +23,10 @@ _require_quota
echo "Format and populate"
_scratch_populate_cached nofill > $seqres.full 2>&1
-echo "${MOUNT_OPTIONS}" | grep -q 'grpquota' || _notrun "group quota disabled"
+
+_scratch_mount
+$here/src/feature -G $SCRATCH_DEV || _notrun "group quota disabled"
+_scratch_unmount
_scratch_xfs_set_quota_fuzz_ids
@@ -23,7 +23,10 @@ _require_quota
echo "Format and populate"
_scratch_populate_cached nofill > $seqres.full 2>&1
-echo "${MOUNT_OPTIONS}" | grep -q 'prjquota' || _notrun "project quota disabled"
+
+_scratch_mount
+$here/src/feature -P $SCRATCH_DEV || _notrun "project quota disabled"
+_scratch_unmount
_scratch_xfs_set_quota_fuzz_ids
@@ -23,7 +23,10 @@ _require_quota
echo "Format and populate"
_scratch_populate_cached nofill > $seqres.full 2>&1
-echo "${MOUNT_OPTIONS}" | grep -q 'prjquota' || _notrun "project quota disabled"
+
+_scratch_mount
+$here/src/feature -P $SCRATCH_DEV || _notrun "project quota disabled"
+_scratch_unmount
_scratch_xfs_set_quota_fuzz_ids
@@ -24,7 +24,10 @@ _require_quota
echo "Format and populate"
_scratch_populate_cached nofill > $seqres.full 2>&1
-echo "${MOUNT_OPTIONS}" | grep -q 'usrquota' || _notrun "user quota disabled"
+
+_scratch_mount
+$here/src/feature -U $SCRATCH_DEV || _notrun "user quota disabled"
+_scratch_unmount
_scratch_xfs_set_quota_fuzz_ids
@@ -24,7 +24,10 @@ _require_quota
echo "Format and populate"
_scratch_populate_cached nofill > $seqres.full 2>&1
-echo "${MOUNT_OPTIONS}" | grep -q 'grpquota' || _notrun "group quota disabled"
+
+_scratch_mount
+$here/src/feature -G $SCRATCH_DEV || _notrun "group quota disabled"
+_scratch_unmount
_scratch_xfs_set_quota_fuzz_ids
@@ -24,7 +24,10 @@ _require_quota
echo "Format and populate"
_scratch_populate_cached nofill > $seqres.full 2>&1
-echo "${MOUNT_OPTIONS}" | grep -q 'prjquota' || _notrun "project quota disabled"
+
+_scratch_mount
+$here/src/feature -P $SCRATCH_DEV || _notrun "project quota disabled"
+_scratch_unmount
_scratch_xfs_set_quota_fuzz_ids
@@ -25,7 +25,10 @@ _require_quota
echo "Format and populate"
_scratch_populate_cached nofill > $seqres.full 2>&1
-echo "${MOUNT_OPTIONS}" | grep -q 'usrquota' || _notrun "user quota disabled"
+
+_scratch_mount
+$here/src/feature -U $SCRATCH_DEV || _notrunn "user quota disabled"
+_scratch_unmount
_scratch_xfs_set_quota_fuzz_ids
@@ -25,7 +25,10 @@ _require_quota
echo "Format and populate"
_scratch_populate_cached nofill > $seqres.full 2>&1
-echo "${MOUNT_OPTIONS}" | grep -q 'grpquota' || _notrun "group quota disabled"
+
+_scratch_mount
+$here/src/feature -G $SCRATCH_DEV || _notrun "group quota disabled"
+_scratch_unmount
_scratch_xfs_set_quota_fuzz_ids
@@ -25,7 +25,10 @@ _require_quota
echo "Format and populate"
_scratch_populate_cached nofill > $seqres.full 2>&1
-echo "${MOUNT_OPTIONS}" | grep -q 'prjquota' || _notrun "project quota disabled"
+
+_scratch_mount
+$here/src/feature -P $SCRATCH_DEV || _notrun "project quota disabled"
+_scratch_unmount
_scratch_xfs_set_quota_fuzz_ids