generic/225: Require fiemap support
authorJan Kara <jack@suse.cz>
Wed, 13 Aug 2014 01:20:59 +0000 (11:20 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 13 Aug 2014 01:20:59 +0000 (11:20 +1000)
Add _require_xfs_io_command "fiemap" to test 225 to properly handle the
situation when fiemap isn't supported by the filesystem.

Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/generic/225

index 73b125add2afdbc10b4811adf5cbb622785eba98..6134c8cc3826ca58a7381200061163573e76639d 100755 (executable)
@@ -44,6 +44,7 @@ _cleanup()
 _supported_fs generic
 _supported_os Linux
 _require_scratch
+_require_xfs_io_command "fiemap"
 
 _scratch_mkfs > /dev/null 2>&1
 _scratch_mount > /dev/null 2>&1