From a5fb2593a9ab1c6cc4ae027924724dd2714f7fe1 Mon Sep 17 00:00:00 2001 From: Omar Polo Date: Thu, 8 Sep 2022 20:45:12 +0000 Subject: adjust regress to use `ge' for the old configless test --- regress/lib.sh | 1 + regress/regress | 4 +++- regress/tests.sh | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) (limited to 'regress') diff --git a/regress/lib.sh b/regress/lib.sh index 26b79ac..e8da907 100644 --- a/regress/lib.sh +++ b/regress/lib.sh @@ -2,6 +2,7 @@ ran_no=0 failed_no=0 failed= +ge="./../ge" gg="./../gg" gmid="./../gmid" current_test= diff --git a/regress/regress b/regress/regress index 29abf68..4059b45 100755 --- a/regress/regress +++ b/regress/regress @@ -30,8 +30,10 @@ if [ "${SKIP_RUNTIME_TESTS:-0}" -eq 1 ]; then tests_done fi +# Run regression tests for the ge binary. +run_test test_ge + # Run regression tests for the gmid binary. -run_test test_configless_mode run_test test_static_files run_test test_directory_redirect run_test test_serve_big_files diff --git a/regress/tests.sh b/regress/tests.sh index 22d2598..a46e44d 100644 --- a/regress/tests.sh +++ b/regress/tests.sh @@ -8,10 +8,10 @@ test_iri() { ./iri_test } -test_configless_mode() { +test_ge() { dont_check_server_alive=yes - $gmid -p $port -H localhost -d . testdata & + $ge -p $port -d . testdata & pid=$! sleep 1 -- cgit v1.2.3