From: Eric Sandeen Date: Sun, 6 Oct 2013 20:42:31 +0000 (+0000) Subject: xfstests: mkfs scratch device in generic/294 X-Git-Tag: v2022.05.01~3357 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=bd7fd0db645a8fc54564787287eabb0c21ea3787;p=users%2Fhch%2Fxfstests-dev.git 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 Reviewed-by: Dave Chinner Signed-off-by: Rich Johnston --- diff --git a/tests/generic/294 b/tests/generic/294 index fa7f3393e..3fa6ba21d 100755 --- a/tests/generic/294 +++ b/tests/generic/294 @@ -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()