diff options
author | Christoph Hellwig <hch@lst.de> | 2023-11-09 17:49:47 +0100 |
---|---|---|
committer | Zorro Lang <zlang@kernel.org> | 2023-11-10 22:19:18 +0800 |
commit | 88334112f9cb7ec5733f5e41017a4c07b3d37636 (patch) | |
tree | 5d6338e2202715cce36f32f28578e56171bdbc8f | |
parent | 11914614784735c504f43b5b6baabaa713375984 (diff) | |
download | xfstests-dev-88334112f9cb7ec5733f5e41017a4c07b3d37636.tar.gz |
xfs/146: require fallocate support
xfs/146 uses the xfs_io falloc subcommand and thus kernel fallocate
support. Ensure the support is present.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
-rwxr-xr-x | tests/xfs/146 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/xfs/146 b/tests/xfs/146 index 123bdff59f..5090435976 100755 --- a/tests/xfs/146 +++ b/tests/xfs/146 @@ -15,7 +15,7 @@ # error and returns EFSCORRUPTED. . ./common/preamble -_begin_fstest auto quick rw realtime +_begin_fstest auto quick rw realtime prealloc # Import common functions. . ./common/filter @@ -24,6 +24,7 @@ _begin_fstest auto quick rw realtime _supported_fs xfs _require_scratch _require_realtime +_require_xfs_io_command "falloc" _require_test_program "punch-alternating" # Format filesystem to get the block size |