ext4/308: require fallocate support

These tests use the falloc command in xfs_io, and there are some file
systems (ext3) or file system configurations (ext4 in ext3
compatibility mode) which do not support fallocate.  So add the
explicit requirement to avoid false test failures.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
Theodore Ts'o
2014-12-16 10:53:57 +11:00
committed by Dave Chinner
parent 22fc64ea50
commit ba3fc9f85b
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -46,6 +46,7 @@ _supported_os Linux
_need_to_be_root _need_to_be_root
_require_scratch _require_scratch
_require_defrag _require_defrag
_require_xfs_io_command "falloc"
rm -f $seqres.full rm -f $seqres.full
+1
View File
@@ -44,6 +44,7 @@ _supported_os Linux
_need_to_be_root _need_to_be_root
_require_scratch _require_scratch
_require_defrag _require_defrag
_require_xfs_io_command "falloc"
rm -f $seqres.full rm -f $seqres.full