[PATCH 4/7] xfs/073, 208: remove .full output before starting the test

Dave Chinner david at fromorbit.com
Mon Jan 20 00:22:34 CST 2014


From: Dave Chinner <dchinner at redhat.com>

Otherwise we end up with an ever-growing file for every test that is
run and that makes it hard to isolate failures.

Signed-off-by: Dave Chinner <dchinner at redhat.com>
---
 tests/generic/208 | 2 ++
 tests/xfs/073     | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/tests/generic/208 b/tests/generic/208
index badd522..58d1d08 100755
--- a/tests/generic/208
+++ b/tests/generic/208
@@ -45,6 +45,8 @@ _cleanup()
 _supported_fs generic
 _supported_os Linux
 
+rm -f $seqres.full
+
 _run_aiodio aio-dio-invalidate-failure
 
 exit $status
diff --git a/tests/xfs/073 b/tests/xfs/073
index 4280fa9..ca553ae 100755
--- a/tests/xfs/073
+++ b/tests/xfs/073
@@ -133,6 +133,8 @@ _supported_os Linux
 _require_scratch
 _require_loop
 
+rm -f $seqres.full
+
 _scratch_mkfs_xfs -dsize=41m,agcount=2 | _filter_mkfs 2>/dev/null
 _scratch_mount 2>/dev/null || _fail "initial scratch mount failed"
 
-- 
1.8.4.rc3



More information about the xfs mailing list