xfs
[Top] [All Lists]

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

To: xfs@xxxxxxxxxxx
Subject: [PATCH 4/7] xfs/073,208: remove .full output before starting the test
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Mon, 20 Jan 2014 17:22:34 +1100
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <1390198957-17184-1-git-send-email-david@xxxxxxxxxxxxx>
References: <1390198957-17184-1-git-send-email-david@xxxxxxxxxxxxx>
From: Dave Chinner <dchinner@xxxxxxxxxx>

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@xxxxxxxxxx>
---
 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

<Prev in Thread] Current Thread [Next in Thread>