diff --git a/tests/test.sh b/tests/test.sh index 839b7538c..cbe7fdbaf 100644 --- a/tests/test.sh +++ b/tests/test.sh @@ -35,6 +35,7 @@ engine="avalanche" # Directories rootdir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/jc2server" +mkdir "${rootdir}" selfname="$(basename $0)" lockselfname=".${servicename}.lock" filesdir="${rootdir}/serverfiles" @@ -143,7 +144,6 @@ echo "Using: ${gamename}" echo "=================================" echo "" sleep 1 -mkdir ${rootfdir} echo "1.0 - start - no files" @@ -396,7 +396,7 @@ echo "gsquery.py will fail to query port." requiredstatus="ONLINE" fn_setstatus sed -i 's/[0-9]\+/0/' "${servercfgfullpath}" -fn_monitor +(fn_monitor) echo "" fn_printinfonl "Reseting ${servercfg}." fn_install_config