projects
/
pazpar2-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sortmap relevance always uses increasing=1 PAZ-930
[pazpar2-moved-to-github.git]
/
perf
/
bash
/
par_fixed_clients.sh
diff --git
a/perf/bash/par_fixed_clients.sh
b/perf/bash/par_fixed_clients.sh
index
04d8524
..
a441589
100755
(executable)
--- a/
perf/bash/par_fixed_clients.sh
+++ b/
perf/bash/par_fixed_clients.sh
@@
-12,8
+12,10
@@
PORT=$2
SERVICE=$3
CLIENT_SCRIPT="client_timed.sh"
rm -f *.time
SERVICE=$3
CLIENT_SCRIPT="client_timed.sh"
rm -f *.time
-export TMP_DIR=run_`date +"%Y%m%d_%H%M%S"`/
-mkdir ${TMP_DIR}
+if [ "$TMP_DIR" == "" ] ; then
+ export TMP_DIR=run_`date +"%Y%m%d_%H%M%S"`/
+fi
+mkdir -p ${TMP_DIR}
rm -f latest
ln -s ${TMP_DIR} latest
while test $r -lt $ROUNDS; do
rm -f latest
ln -s ${TMP_DIR} latest
while test $r -lt $ROUNDS; do