aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRostislav Skudnov <rostislav@tuxera.com>2018-01-30 13:54:59 +0000
committerEryu Guan <eguan@redhat.com>2018-02-03 00:33:51 +0800
commitdc9f8c9ac02e10fbca80d74cf08b945e7c1c341a (patch)
tree1a9226c1b677675fd8a6d9206667ec6580cb3e26
parente9dc7dc6cec63ce4bc8cc91b2eeb2ff7c9ed7697 (diff)
downloadxfstests-dev-dc9f8c9ac02e10fbca80d74cf08b945e7c1c341a.tar.gz
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 <rostislav@tuxera.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Eryu Guan <eguan@redhat.com>
-rwxr-xr-xtests/generic/2742
-rwxr-xr-xtests/generic/3152
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/generic/274 b/tests/generic/274
index 7d093865d5..a3f8c7556a 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 4433b6c1d7..954f8a90b0 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