From f3c84f3d553ee1e6c549c9dfe67f76599a590acc Mon Sep 17 00:00:00 2001 From: Filipe Manana Date: Tue, 4 Apr 2017 07:34:31 +0100 Subject: [PATCH] generic/071: check if fs supports fallocate KEEP_SIZE flag So that the test is skipped for filesystems that don't support it instead of failing (like NFS 4.2 for example). Signed-off-by: Filipe Manana Reviewed-by: Eryu Guan Signed-off-by: Eryu Guan --- tests/generic/071 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/generic/071 b/tests/generic/071 index 65ed0c73..9d0d136a 100755 --- a/tests/generic/071 +++ b/tests/generic/071 @@ -46,7 +46,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 _supported_fs generic _supported_os Linux _require_scratch -_require_xfs_io_command "falloc" +_require_xfs_io_command "falloc" "-k" rm -f $seqres.full -- 2.39.5