From: Qu Wenruo <quwenruo@cn.fujitsu.com>
To: <fstests@vger.kernel.org>, <linux-btrfs@vger.kernel.org>
Subject: [PATCH] fstests: template: Add seqres.full cleanup
Date: Fri, 28 Aug 2015 09:40:43 +0800 [thread overview]
Message-ID: <1440726043-17566-1-git-send-email-quwenruo@cn.fujitsu.com> (raw)
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 | 3 +++
1 file changed, 3 insertions(+)
diff --git a/new b/new
index c734bdc..ab2af69 100755
--- 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.
--
1.8.3.1
reply other threads:[~2015-08-28 1:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1440726043-17566-1-git-send-email-quwenruo@cn.fujitsu.com \
--to=quwenruo@cn.fujitsu.com \
--cc=fstests@vger.kernel.org \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).