From: Rostislav Skudnov Date: Tue, 30 Jan 2018 13:54:59 +0000 (+0000) Subject: generic/{274,315}: Require falloc -k support X-Git-Tag: v2022.05.01~1662 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=dc9f8c9ac02e10fbca80d74cf08b945e7c1c341a;p=users%2Fhch%2Fxfstests-dev.git generic/{274,315}: Require falloc -k support These test cases require filesystem support for FALLOC_FL_KEEP_SIZE flag in fallocate(). Signed-off-by: Rostislav Skudnov Reviewed-by: Darrick J. Wong Signed-off-by: Eryu Guan --- diff --git a/tests/generic/274 b/tests/generic/274 index 7d093865d..a3f8c7556 100755 --- a/tests/generic/274 +++ b/tests/generic/274 @@ -48,7 +48,7 @@ _cleanup() _supported_fs generic _supported_os Linux _require_scratch -_require_xfs_io_command "falloc" +_require_xfs_io_command "falloc" "-k" echo "------------------------------" echo "preallocation test" diff --git a/tests/generic/315 b/tests/generic/315 index 4433b6c1d..954f8a90b 100755 --- a/tests/generic/315 +++ b/tests/generic/315 @@ -49,7 +49,7 @@ _cleanup() _supported_fs generic _supported_os Linux _require_test -_require_xfs_io_command "falloc" +_require_xfs_io_command "falloc" "-k" rm -f $seqres.full