fstests: cleanup test btrfs/031
authorFilipe Manana <fdmanana@suse.com>
Mon, 11 Jan 2016 04:06:20 +0000 (15:06 +1100)
committerDave Chinner <david@fromorbit.com>
Mon, 11 Jan 2016 04:06:20 +0000 (15:06 +1100)
commita6630c04ac17a7d98a346519d1ce48e6d8022eb8
tree040f3fd34e1a7e4f871192cffdc90466104d8332
parent7a9cfc2a42e4a93c07c191348d92c13e49880783
fstests: cleanup test btrfs/031

The test was using $SCRATCH_MNT as a mountpoint for $SCRATCH_DEV, which
is counter intuitive and not expected by the fstests framework - this
made the test fail after commit 27d077ec0bda (common: use mount/umount
helpers everywhere). So rewrite the test to use the scratch device for
all data and use a test specific directory inside $TEST_DIR to use as a
mount point for a cross mount of $SCRATCH_DEV.

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/btrfs/031