diff mbox series

[-next,2/2] selftests/intel_pstate: do cleanup at exit

Message ID 20221208130805.66660-3-zhaogongyi@huawei.com (mailing list archive)
State New
Headers show
Series Add setup/cleanup for run.sh | expand

Commit Message

Zhao Gongyi Dec. 8, 2022, 1:08 p.m. UTC
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(+)

--
2.17.1
diff mbox series

Patch

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