xfstests: mkfs scratch device in generic/294

test 294 is using the scratch device w/o mkfs-ing it first,
this runs the risk of following a test which completely
fills the fs, causing 294 to fail.

add "rm -f $seqres.full" as well, it was growing on every run.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
This commit is contained in:
Eric Sandeen
2013-10-06 20:42:31 +00:00
committed by Rich Johnston
parent aaac93cb80
commit bd7fd0db64
+3
View File
@@ -48,6 +48,9 @@ _supported_fs generic
_supported_os Linux
_require_scratch
rm -f $seqres.full
_scratch_mkfs > $seqres.full 2>&1 || _fail "Could not mkfs scratch device"
THIS_TEST_DIR=$SCRATCH_MNT/$seq.test
_create_files()