X-Git-Url: https://git.ucc.asn.au/?p=tpg%2Fopendispense2.git;a=blobdiff_plain;f=tests%2F_common.sh;fp=tests%2F_common.sh;h=4058bb5f3044ae6450a576932664fb31d5fe879c;hp=0019b997ec2fd069683e0ddffd8bc7c32c6b0013;hb=0de1e8b33b746fa512d7ced5f5ef986c3b9b7dae;hpb=e30dc0707226922e2d1b33dc7c0fce10d5dbcd94 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}