new: Add seqres.full cleanup to template
authorQu Wenruo <quwenruo@cn.fujitsu.com>
Mon, 21 Sep 2015 03:06:18 +0000 (13:06 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 21 Sep 2015 03:06:18 +0000 (13:06 +1000)
Add cleanup for seqres.full for new test case template, as sometimes
new testcase may forgot to cleanup seqres.full.

Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
new

diff --git a/new b/new
index c734bdc562bed49deddf2586aea48c122bd98513..ab2af69aab152e0bc4d7ff60c2c4a2182a31b354 100755 (executable)
--- a/new
+++ b/new
@@ -200,6 +200,9 @@ _cleanup()
 . ./common/rc
 . ./common/filter
 
+# remove previous \$seqres.full before test
+rm -f \$seqres.full
+
 # real QA test starts here
 
 # Modify as appropriate.