Fix mktemp portability issue affecting test coverage. (addresses #752)

Also update Makefiles to behave better for brief targets and in absence
of external test repos.
This commit is contained in:
Jon Siwek 2012-01-27 11:01:50 -06:00
parent f6f9dd952f
commit 0065cf6148
3 changed files with 10 additions and 8 deletions

View file

@ -4,4 +4,4 @@
# when collecting Bro script coverage statistics so that two independent
# Bro processing don't try to write those usage statistics to the same file.
BRO_PROFILER_FILE=`mktemp -t script-coverage` $BTEST_PATH/btest-bg-run $@
BRO_PROFILER_FILE=`mktemp $TMPDIR/script-coverage.XXXX` $BTEST_PATH/btest-bg-run $@