git.ucc.asn.au
/
tpg
/
opendispense2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests - Tweak tests in preparation for attempted CI
[tpg/opendispense2.git]
/
tests
/
_common.sh
diff --git
a/tests/_common.sh
b/tests/_common.sh
index
0019b99
..
4058bb5
100644
(file)
--- 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
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}
cat << EOF > ${BASEDIR}cfg_server.conf
# AUTOGENERATED Test ${TESTNAME}
server_port ${PORT}
UCC
git Repository :: git.ucc.asn.au