xfstests: exit out if _scratch_mount fails
authorJosef Bacik <jbacik@fusionio.com>
Tue, 9 Jul 2013 19:07:27 +0000 (15:07 -0400)
committerBen Myers <bpm@sgi.com>
Fri, 19 Jul 2013 20:38:10 +0000 (15:38 -0500)
commit74bcf51c066e498a147ab5902e377efa59224dd3
tree919d5e846a61698520b2b2492f74b87884842433
parentdcc683c9ab512639351e36b868aebac6347eb11a
xfstests: exit out if _scratch_mount fails

I test some of the different mkfs options for btrfs, one set doesn't work
properly with small file systems, so the fs won't mount.  This is fine from a
btrfs point of view, but tests that fail to mount the scratch fs will run
anyway, so if it's a "fill the fs" sort of test this will wreak havoc.  To fix
this just error out of _scratch_mount fails.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Reviewed-by: Ben Myers <bpm@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
common/rc