80-test_cmp_http.t: Extend diagnostics of mock server launch

Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14839)
This commit is contained in:
Dr. David von Oheimb 2021-04-03 15:53:16 +02:00 committed by Dr. David von Oheimb
parent cfe20aee3b
commit b9cd82f95b

View File

@ -279,7 +279,8 @@ sub start_mock_server {
print "Mock server already running with pid=$pid\n";
return $pid;
}
print "Launching mock server: $cmd\n";
print "Current directory is ".getcwd()."\n";
print "Launching mock server listening on port $server_port: $cmd\n";
return system("$cmd &") == 0 # start in background, check for success
? (sleep 1, mock_server_pid()) : 0;
}