]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfs: test xfs_quota "state" command
authorEric Sandeen <sandeen@sandeen.net>
Tue, 16 Aug 2016 03:23:11 +0000 (22:23 -0500)
committerEryu Guan <eguan@redhat.com>
Fri, 26 Aug 2016 07:29:49 +0000 (15:29 +0800)
commit397c6eb2b6f9e3a64317f54402c7172dee2d191b
treec64bb787304d4287cc8f314c0c8ea1f3f401d18d
parent478b9693c9f376c1ee256c30dace0e9dee91ad94
xfs: test xfs_quota "state" command

This exercises the xfs_quota "state" command for every
combination of user, group, and project quota enablement
on both crc (with project quota inode on disk) and non-crc
(where project quota overlaps group quota on disk) filesystems.

It currently requires patches to the upstream kernel
("quota: fill in Q_XGETQSTAT inode information for inactive quotas")
and to xfsprogs ("xfs_quota: wire up XFS_GETQSTATV") to pass.

Rather than trying to make it run on older kernels without
crc capability, I restrict the test to crc-capable environments,
but test with and without crcs enabled (and hence with and without
project quota inode on disk).

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Bill O'Donnell <billodo@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/xfs/263 [new file with mode: 0755]
tests/xfs/263.out [new file with mode: 0644]
tests/xfs/group