btrfs/112: add missing _require_xfs_io_command for falloc
authorFilipe Manana <fdmanana@suse.com>
Sun, 1 Nov 2015 23:56:08 +0000 (10:56 +1100)
committerDave Chinner <david@fromorbit.com>
Sun, 1 Nov 2015 23:56:08 +0000 (10:56 +1100)
I forgot to add the requirement for the xfs_io command "falloc", which
the test makes use of. Also fixed a weird indentation (mix of spaces
and tabs) for one line of a comment.

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/btrfs/112

index f4fad493a7700c71a167998b904ddc11da65fc62..45f68fc0b156e47a2d9d4c3f26eb5966e84d9d01 100755 (executable)
@@ -49,6 +49,7 @@ _require_scratch
 _require_cloner
 _require_btrfs_fs_feature "no_holes"
 _require_btrfs_mkfs_feature "no-holes"
+_require_xfs_io_command "falloc"
 
 rm -f $seqres.full
 
@@ -61,7 +62,7 @@ test_cloning_inline_extents()
        _scratch_mount $mount_opts
 
        # File bar, the source for all the following clone operations, consists
-        # of a # single inline extent (50 bytes).
+       # of a single inline extent (50 bytes).
        $XFS_IO_PROG -f -c "pwrite -S 0xbb 0 50" $SCRATCH_MNT/bar \
                | _filter_xfs_io