btrfs/029: filter mkfs and cp output
authorJosef Bacik <jbacik@fb.com>
Sun, 2 Feb 2014 23:06:41 +0000 (10:06 +1100)
committerDave Chinner <david@fromorbit.com>
Sun, 2 Feb 2014 23:06:41 +0000 (10:06 +1100)
commit78d86b996c9c431542fdbac11fa08764b16ceb7d
treee2197762f8490b7b15fffc6e7b266a2ffcffed7c
parent20641b8749637fe71cdec4e1f0c09a196d5feda1
btrfs/029: filter mkfs and cp output

I noticed while testing a different mkfs option that btrfs/029 was
failing because it was getting the extra output from our mkfs.btrfs.
After I fixed that I was still failing because my version of cp will
spit out the source and destination files, not just the destination
file.  So redirect _scratch_mkfs to /dev/null like everybody does
and make the golden output just expect to see "cp failed" instead of
the cp specific output.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fb.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/btrfs/029
tests/btrfs/029.out