diff options
author | Omar Polo <op@omarpolo.com> | 2022-09-08 20:45:12 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2022-09-08 20:45:12 +0000 |
commit | a5fb2593a9ab1c6cc4ae027924724dd2714f7fe1 (patch) | |
tree | 9f9d2e7f85f84c25c8ae25947fb4204f2fa1de8c /regress | |
parent | 32fbc47803fbb51cfff0e5181b78d9050641709c (diff) |
adjust regress to use `ge' for the old configless test
Diffstat (limited to 'regress')
-rw-r--r-- | regress/lib.sh | 1 | ||||
-rwxr-xr-x | regress/regress | 4 | ||||
-rw-r--r-- | regress/tests.sh | 4 |
3 files changed, 6 insertions, 3 deletions
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 |