aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2023-09-08 05:13:18 -0700
committerFrederic Weisbecker <frederic@kernel.org>2023-09-24 17:24:02 +0200
commit3e9b009c168e2448ab16f98f10045360b5b41816 (patch)
treee41e7bffa8b440790a49e5a067352e615b4020f6
parentrcutorture: Traverse possible cpu to set maxcpu in rcu_nocb_toggle() (diff)
downloadwireguard-linux-3e9b009c168e2448ab16f98f10045360b5b41816.tar.xz
wireguard-linux-3e9b009c168e2448ab16f98f10045360b5b41816.zip
torture: Convert parse-console.sh to mktemp
This commit does the long-overdue conversion of the parse-console.sh file to use mktemp to create its temporary directory. Signed-off-by: Paul E. McKenney <paulmck@kernel.org> Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
-rwxr-xr-xtools/testing/selftests/rcutorture/bin/parse-console.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/rcutorture/bin/parse-console.sh b/tools/testing/selftests/rcutorture/bin/parse-console.sh
index e3d2f69ec0fb..b07c11cf6929 100755
--- a/tools/testing/selftests/rcutorture/bin/parse-console.sh
+++ b/tools/testing/selftests/rcutorture/bin/parse-console.sh
@@ -11,7 +11,7 @@
#
# Authors: Paul E. McKenney <paulmck@linux.ibm.com>
-T=${TMPDIR-/tmp}/parse-console.sh.$$
+T="`mktemp -d ${TMPDIR-/tmp}/parse-console.sh.XXXXXX`"
file="$1"
title="$2"