adjust regress to use `ge' for the old configless test

This commit is contained in:
Omar Polo 2022-09-08 20:45:12 +00:00
parent 32fbc47803
commit a5fb2593a9
3 changed files with 6 additions and 3 deletions

View File

@ -2,6 +2,7 @@ ran_no=0
failed_no=0
failed=
ge="./../ge"
gg="./../gg"
gmid="./../gmid"
current_test=

View File

@ -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

View File

@ -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