X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=tests%2F_common.sh;h=4058bb5f3044ae6450a576932664fb31d5fe879c;hb=0de1e8b33b746fa512d7ced5f5ef986c3b9b7dae;hp=0019b997ec2fd069683e0ddffd8bc7c32c6b0013;hpb=209aad64803d474788b24ee4794013f5d400122b;p=tpg%2Fopendispense2.git diff --git a/tests/_common.sh b/tests/_common.sh index 0019b99..4058bb5 100644 --- a/tests/_common.sh +++ b/tests/_common.sh @@ -1,10 +1,13 @@ - +# +# NOTE: Not a script, to be included by scripts +# BASEDIR=rundir/${TESTNAME}/ PORT=22222 mkdir -p ${BASEDIR} rm -f ${BASEDIR}cokebank.db +# Template configuration (disables door and the coke machine) cat << EOF > ${BASEDIR}cfg_server.conf # AUTOGENERATED Test ${TESTNAME} server_port ${PORT}