Arrange to ignore duplicate entries reported by the "repquota"
xfs_quota command. This can happen if an id is used more than once
(such as when two user names are assigned the same uid).
Since we are already sorting the output we can accomplish this by
adding the "-u" (unique) option to the sort command. Shorten some
long lines while we're at it.
Signed-off-by: Alex Elder <aelder@sgi.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Make a new test to test for generic quota tools, for
generic filesystem testing. Move the existing quota test
to a new "xfs" name.
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Reviewed-by: Lachlan McIlroy <lmcilroy@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
It turns out lsqa.pl nees the test number and description first in the
file, so move the GPL boilerplates below it.
Also remove acouple of cases where we have one full copyright line + gpl
boilerplate before the description and another copyright line after
the description.
Signed-off-by: Christoph Hellwig <hch@lst.de>
[ROOT]
[NAME]
rather than depend on the order of /etc/passwd & /etc/groups
Merge of master-melb:xfs-cmds:26878a by kenmcd.
fixed order of quota reports to always follow:
[ROOT]
[NAME]
rather than depend on the order of /etc/passwd & /etc/groups
the evil NIS entries. This allows me to run the tests in Eagan with NIS
enabled.
Add a parameter to _filter_and_check_blocks and pass it to _filter_repquota.
Use the new parameter to _filter_repquota.