Skip to content

Commit 3e9b009

Browse files
paulmckrcuFrederic Weisbecker
authored andcommitted
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>
1 parent 771a92b commit 3e9b009

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/testing/selftests/rcutorture/bin/parse-console.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#
1212
# Authors: Paul E. McKenney <paulmck@linux.ibm.com>
1313

14-
T=${TMPDIR-/tmp}/parse-console.sh.$$
14+
T="`mktemp -d ${TMPDIR-/tmp}/parse-console.sh.XXXXXX`"
1515
file="$1"
1616
title="$2"
1717

0 commit comments

Comments
 (0)