]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
ext4/308: require fallocate support
authorTheodore Ts'o <tytso@mit.edu>
Mon, 15 Dec 2014 23:53:57 +0000 (10:53 +1100)
committerDave Chinner <david@fromorbit.com>
Mon, 15 Dec 2014 23:53:57 +0000 (10:53 +1100)
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>
tests/ext4/308
tests/generic/324

index 8df24ba73e86aa791ee4f8116f89b44862a34767..948ff3fb4780ce14e15e2c81ee059924c845891e 100755 (executable)
@@ -46,6 +46,7 @@ _supported_os Linux
 _need_to_be_root
 _require_scratch
 _require_defrag
+_require_xfs_io_command "falloc"
 
 rm -f $seqres.full
 
index 1868bbc9f1e45271ed2374327327e8e0c69e775a..5e642dcbd8b88dffd0b9894051839e41b8e31768 100755 (executable)
@@ -44,6 +44,7 @@ _supported_os Linux
 _need_to_be_root
 _require_scratch
 _require_defrag
+_require_xfs_io_command "falloc"
 
 rm -f $seqres.full