mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
13c2dcbe27
Commit b8cac56 ("xfs/007: add project quota Q_XQUOTARM test") has
been broken since it was added - the new code checked the group
quota inode rather than the project quota inode and so always
reported a pre-RM block count of zero. This occurred due to a copy
and paste of the existing user/group test code and didn't fix up all
the code properly.
Factor the common code into a single function, and pass in the
correct variables the tests require. While there, make sure that we
remove the 007.full file before the test starts to aid future
debugging and also check that project quotas are supported before
trying to test them.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
20 lines
365 B
Plaintext
20 lines
365 B
Plaintext
QA output created by 007
|
|
*** umount
|
|
*** Usage before quotarm ***
|
|
core.nblocks = 1
|
|
core.nblocks = 1
|
|
*** turn off ug quotas
|
|
*** umount
|
|
*** Usage after quotarm ***
|
|
core.nblocks = 0
|
|
core.nblocks = 0
|
|
*** umount
|
|
*** Usage before quotarm ***
|
|
core.nblocks = 1
|
|
core.nblocks = 1
|
|
*** turn off up quotas
|
|
*** umount
|
|
*** Usage after quotarm ***
|
|
core.nblocks = 0
|
|
core.nblocks = 0
|