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)
commitf3c84f3d553ee1e6c549c9dfe67f76599a590acc
tree633924a016db792c9d55e953ac18a23f398194dc
parentc7cbc1cd614a01b43c8ea5db0723fd5738978b6e
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>
tests/generic/071