]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
generic/071: check if fs supports fallocate KEEP_SIZE flag
authorFilipe Manana <fdmanana@suse.com>
Tue, 4 Apr 2017 06:34:31 +0000 (07:34 +0100)
committerEryu Guan <eguan@redhat.com>
Sat, 8 Apr 2017 15:22:58 +0000 (23:22 +0800)
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 <fdmanana@suse.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/generic/071

index 65ed0c732809ae507189b892f82e980cb58dfebf..9d0d136add1e3edf414f475cc5d295b8f51c379b 100755 (executable)
@@ -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