Fix use of mktemp in test script
This commit is contained in:
parent
319cfcda34
commit
ea063fd2ef
2
test/run
2
test/run
|
@ -7,7 +7,7 @@ main() {
|
||||||
number_failures=0
|
number_failures=0
|
||||||
dirs="$@"
|
dirs="$@"
|
||||||
test=$(pwd)
|
test=$(pwd)
|
||||||
work=$(mktemp -d)
|
work=$(mktemp -d /tmp/kak-tests.XXXXXXXX)
|
||||||
cp -R . $work
|
cp -R . $work
|
||||||
trap "rm -R $work" EXIT
|
trap "rm -R $work" EXIT
|
||||||
for dir in $(find $dirs -type d); do
|
for dir in $(find $dirs -type d); do
|
||||||
|
|
Loading…
Reference in New Issue
Block a user