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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Remove the tmp files before the test exit.

Signed-off-by: Zhao Gongyi <zhaogongyi@xxxxxxxxxx>
---
 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




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux