torture: Make kvm-recheck.sh use mktemp
This commit switches from the old "/tmp/kvm-recheck.sh.$$" approach to the newer and now reliable "mktemp" approach. Signed-off-by: Paul E. McKenney <paulmck@kernel.org> Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
This commit is contained in:
parent
d0b654e19a
commit
40baf39fc5
@ -13,7 +13,7 @@
|
||||
#
|
||||
# Authors: Paul E. McKenney <paulmck@linux.ibm.com>
|
||||
|
||||
T=/tmp/kvm-recheck.sh.$$
|
||||
T="`mktemp ${TMPDIR-/tmp}/kvm-recheck.sh.XXXXXX`"
|
||||
trap 'rm -f $T' 0 2
|
||||
|
||||
configerrors=0
|
||||
|
Loading…
Reference in New Issue
Block a user