X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=perf%2Fbash%2Fpar_fixed_clients.sh;h=a44158955b517aa79d97672ed2b1c573da023b09;hb=c14318db9e376a6e28c8dbe4b5cbf9d521827c24;hp=04d8524a7c41af115462ec2a54653f8768e46a2b;hpb=4fc8828a1976a8b0d67007af6abac8c28d8b662a;p=pazpar2-moved-to-github.git diff --git a/perf/bash/par_fixed_clients.sh b/perf/bash/par_fixed_clients.sh index 04d8524..a441589 100755 --- 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 -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