All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zhao Gongyi <zhaogongyi@huawei.com>
To: <linux-kselftest@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<shuah@kernel.org>
Cc: <zhaogongyi@huawei.com>
Subject: [PATCH -next 2/2] selftests/intel_pstate: do cleanup at exit
Date: Thu, 8 Dec 2022 21:08:05 +0800	[thread overview]
Message-ID: <20221208130805.66660-3-zhaogongyi@huawei.com> (raw)
In-Reply-To: <20221208130805.66660-1-zhaogongyi@huawei.com>

Remove the tmp files before the test exit.

Signed-off-by: Zhao Gongyi <zhaogongyi@huawei.com>
---
 tools/testing/selftests/intel_pstate/run.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/testing/selftests/intel_pstate/run.sh b/tools/testing/selftests/intel_pstate/run.sh
index ee78c61cccb9..3e187e54af16 100755
--- a/tools/testing/selftests/intel_pstate/run.sh
+++ b/tools/testing/selftests/intel_pstate/run.sh
@@ -140,5 +140,6 @@ do
 done < /tmp/governor

 rm -f /tmp/governor
+rm -f /tmp/result\.*

 exit 0
--
2.17.1


      parent reply	other threads:[~2022-12-08 13:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-08 13:08 [PATCH -next 0/2] Add setup/cleanup for run.sh Zhao Gongyi
2022-12-08 13:08 ` [PATCH -next 1/2] selftests/intel_pstate: Add saving and restore of scaling_governor Zhao Gongyi
2022-12-08 13:08 ` Zhao Gongyi [this message]

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=20221208130805.66660-3-zhaogongyi@huawei.com \
    --to=zhaogongyi@huawei.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=shuah@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.