ext4: require fallocate support to run ext4/307
authorTheodore Ts'o <tytso@mit.edu>
Mon, 8 Sep 2014 12:26:52 +0000 (22:26 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 8 Sep 2014 12:26:52 +0000 (22:26 +1000)
commit1a2858960b7ca0d187cde33ecbd251329ac8fd4a
tree5a316d539689d33f401e84e770afcdf8b3049b92
parentaaab9f3eb2cd3588dfc9f6bd1ecd356cd7c6959e
ext4: require fallocate support to run ext4/307

Some file system configurations don't support fallocate, which is
required for e4defrag to run.  So add a _require_xfs_io_command to
prevent a test failure if fallocate isn't supported in (for example)
ext3 compatibility mode.

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/307