diff --git a/IntegrationTests/tests_01_http/defines.sh b/IntegrationTests/tests_01_http/defines.sh index b8da10644..8f4c287c2 100644 --- a/IntegrationTests/tests_01_http/defines.sh +++ b/IntegrationTests/tests_01_http/defines.sh @@ -120,7 +120,8 @@ function start_server() { tmp_server_pid=$(get_server_pid "$token") echo "local token_open_fds" >> "$token" echo "token_open_fds='$(get_number_of_open_fds_for_pid "$tmp_server_pid")'" >> "$token" - do_curl "$token" "http://$maybe_host:$curl_port/dynamic/pid" + local curl_host=${maybe_host:-localhost} + do_curl "$token" "http://$curl_host:$curl_port/dynamic/pid" } function get_htdocs() {