mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
Tweak quota QA test 107, sort output for deterministic result.
Merge of master-melb:xfs-cmds:22844a by kenmcd.
This commit is contained in:
@@ -96,14 +96,14 @@ echo "### initial report"
|
||||
xfs_quota -c 'quot -p' -c 'quota -ip 6' $QARGS | filter_xfs_quota
|
||||
|
||||
echo "### check the project, should give warnings"
|
||||
xfs_quota -c 'project -c 6' $QARGS | filter_xfs_quota
|
||||
xfs_quota -c 'project -c 6' $QARGS | LC_COLLATE=POSIX sort | filter_xfs_quota
|
||||
|
||||
echo "### recursively setup the project"
|
||||
xfs_quota -c 'project -s 6' $QARGS | filter_xfs_quota
|
||||
xfs_quota -c 'project -s 6' $QARGS | LC_COLLATE=POSIX sort | filter_xfs_quota
|
||||
xfs_quota -c 'quota -ip 6' $QARGS | filter_xfs_quota
|
||||
|
||||
echo "### check the project, should give no warnings now"
|
||||
xfs_quota -c 'project -c 6' $QARGS | filter_xfs_quota
|
||||
xfs_quota -c 'project -c 6' $QARGS | LC_COLLATE=POSIX sort | filter_xfs_quota
|
||||
|
||||
echo "### deny a hard link - wrong project ID"
|
||||
rm -f $SCRATCH_MNT/outer $target/inner
|
||||
@@ -129,7 +129,7 @@ fi
|
||||
xfs_quota -c 'quota -ip 6' $QARGS | filter_xfs_quota
|
||||
|
||||
echo "### recursively clear the project"
|
||||
xfs_quota -c 'project -C 6' $QARGS | filter_xfs_quota
|
||||
xfs_quota -c 'project -C 6' $QARGS | LC_COLLATE=POSIX sort | filter_xfs_quota
|
||||
#no output...
|
||||
xfs_quota -c 'quota -ip 6' $QARGS | filter_xfs_quota
|
||||
|
||||
|
||||
Reference in New Issue
Block a user