From: Filipe Manana Date: Tue, 4 Apr 2017 06:34:31 +0000 (+0100) Subject: generic/071: check if fs supports fallocate KEEP_SIZE flag X-Git-Tag: v2022.05.01~2099 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=f3c84f3d553ee1e6c549c9dfe67f76599a590acc;p=xfstests-dev.git 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 --- 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