fstests: fix fallocate commands that need the unshare switch
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 17 Oct 2016 22:09:28 +0000 (15:09 -0700)
committerEryu Guan <eguan@redhat.com>
Fri, 21 Oct 2016 15:20:14 +0000 (23:20 +0800)
commited6e4664eecac1bfc4cdf6d1b8d7f4b105b2d240
treeb3c63c4175979cea245a723e9198047005338184
parentbf5a5da572472a010223d039d90e79ecb7dc5e3c
fstests: fix fallocate commands that need the unshare switch

We re-added the UNSHARE flag to fallocate, so go make sure that all
the unshare tests actually check that the installed copy of xfs_io
supports the 'funshare' command and that the underlying filesystem
understands the flag, and change the tests themselves to use
funshare.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eryu Guan <eguan@redhat.com>
12 files changed:
common/rc
tests/generic/156
tests/generic/264
tests/xfs/132
tests/xfs/184
tests/xfs/192
tests/xfs/200
tests/xfs/204
tests/xfs/344
tests/xfs/345
tests/xfs/346
tests/xfs/347