]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
misc: force the exact quota options coded into the test
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 1 Nov 2018 23:19:46 +0000 (16:19 -0700)
committerEryu Guan <guaneryu@gmail.com>
Sun, 4 Nov 2018 16:42:49 +0000 (00:42 +0800)
commit89985c90eab4f0b8caf8cc35e850c85f3d1c4a61
tree848476fe20cafe7d44f97b5a98a839d6dc0f1e34
parentf1e94da67c78bc5aef874eafed4cc1ca1cab2abb
misc: force the exact quota options coded into the test

Several tests require setting exactly the quota mount options that are
encoded in the test.  Unfortunately, quota mount options set by the user
in MOUNT_OPTIONS can turn on other quota types, which causes the golden
outputs to be off for various reasons (quota report output, behavior
changes, etc.)

So use _qmount_option to delete all the quota mount options in these
tests so that the test itself can run with exactly the config for which
it was written.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/generic/230
tests/xfs/075
tests/xfs/116
tests/xfs/132
tests/xfs/220