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 <fdmanana@suse.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
This commit is contained in:
Filipe Manana
2017-04-04 07:34:31 +01:00
committed by Eryu Guan
parent c7cbc1cd61
commit f3c84f3d55
+1 -1
View File
@@ -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