From be31b50cb633e38195dcd1ec0250219a1bc99149 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sun, 10 Jul 2016 19:37:31 +0100 Subject: [PATCH] test --- tests/tests_jc2server.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/tests/tests_jc2server.sh b/tests/tests_jc2server.sh index d62c8e50e..b3a37f6cd 100644 --- a/tests/tests_jc2server.sh +++ b/tests/tests_jc2server.sh @@ -16,6 +16,23 @@ githubbranch="$TRAVIS_BRANCH" ##### Script ##### +# Directories +rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" +selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" +lockselfname=".${servicename}.lock" +lgsmdir="${rootdir}/lgsm" +functionsdir="${lgsmdir}/functions" +libdir="${lgsmdir}/lib" +filesdir="${rootdir}/serverfiles" +systemdir="${filesdir}" +executabledir="${filesdir}" +executable="./Jcmp-Server" +servercfg="config.lua" +servercfgdir="${filesdir}" +servercfgfullpath="${servercfgdir}/${servercfg}" +servercfgdefault="${servercfgdir}/default_config.lua" +backupdir="${rootdir}/backups" + # Fetches core_dl for file downloads fn_fetch_core_dl(){ github_file_url_dir="lgsm/functions"