xfs: functional testing of V5-relevant options
authorDarrick J. Wong <djwong@kernel.org>
Thu, 22 Apr 2021 00:51:27 +0000 (17:51 -0700)
committerEryu Guan <guaneryu@gmail.com>
Sun, 25 Apr 2021 05:44:51 +0000 (13:44 +0800)
commit8fb042e54ea0b4f1cc1f7d628927a6cc985c0586
treebc4cbdf0b1819c43cd9f88943b5a8d922d863268
parentaf7ac9448fd681d54c3acfa7febcaf44b0be323f
xfs: functional testing of V5-relevant options

Currently, the only functional testing for xfs_admin is xfs/287, which
checks that one can add 32-bit project ids to a V4 filesystem.  This
obviously isn't an exhaustive test of all the CLI arguments, and
historically there have been xfs configurations that don't even work.

Therefore, introduce a couple of new tests -- one that will test the
simple options with the default configuration, and a second test that
steps a bit outside of the test run configuration to make sure that we
do the right thing for external devices.  The second test already caught
a nasty bug in xfsprogs 5.11.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Allison Henderson <allison.henderson@oracle.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
common/xfs
tests/xfs/156 [new file with mode: 0755]
tests/xfs/156.out [new file with mode: 0644]
tests/xfs/157 [new file with mode: 0755]
tests/xfs/157.out [new file with mode: 0644]
tests/xfs/group