From ffb718aaf163eb61f871d6db99186caa79d92403 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Mon, 11 Jul 2016 18:27:10 +0100 Subject: [PATCH] more test changes --- tests/tests_jc2server.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/tests_jc2server.sh b/tests/tests_jc2server.sh index ca355826a..1c51241ee 100644 --- a/tests/tests_jc2server.sh +++ b/tests/tests_jc2server.sh @@ -333,7 +333,7 @@ echo "removing appmanifest file will cause script to repair." echo "Command: ./jc2server update" requiredstatus="OFFLINE" fn_print_info_nl "removed appmanifest_${appid}.acf." -rm --verbose "${filesdir}/steamapps/appmanifest_${appid}.acf" +rm --verbose "${rootdir}/steamapps/appmanifest_${appid}.acf" ./jc2server update fn_test_result_pass @@ -378,26 +378,26 @@ requiredstatus="ONLINE" fn_test_result_pass echo "" -echo "5.2 - monitor - offline - no lockfile" +echo "5.2 - monitor - offline - with lockfile" echo "=================================" echo "Description:" -echo "run monitor while server is offline with no lockfile." +echo "run monitor while server is offline with lockfile." echo "Command: ./jc2server monitor" requiredstatus="OFFLINE" +fn_print_info_nl "creating lockfile." +date > "${rootdir}/${lockselfname}" ./jc2server monitor fn_test_result_fail echo "" -echo "5.3 - monitor - offline - with lockfile" +echo "5.3 - monitor - offline - no lockfile" echo "=================================" echo "Description:" echo "run monitor while server is offline with no lockfile." echo "Command: ./jc2server monitor" requiredstatus="OFFLINE" -fn_print_info_nl "creating lockfile." -date > "${rootdir}/${lockselfname}" ./jc2server monitor -fn_test_result_pass +fn_test_result_fail echo "" echo "5.4 - monitor - gsquery.py failure"