X-Git-Url: https://ruderich.org/simon/gitweb/?p=tlsproxy%2Ftlsproxy.git;a=blobdiff_plain;f=tests%2Ftests-passthrough.sh;h=c2351d9a98ae679f13dbc8d543905ebb40306a01;hp=f96e782438c7276f76ef7181f4948e0750267d2c;hb=412b6491a940ba3de97e5be95bd35197e51ee210;hpb=071dd5923aa311dc6830904a4e31db227ea08995 diff --git a/tests/tests-passthrough.sh b/tests/tests-passthrough.sh index f96e782..c2351d9 100755 --- a/tests/tests-passthrough.sh +++ b/tests/tests-passthrough.sh @@ -27,9 +27,9 @@ cleanup tlsproxy_setup # Normal tests. -tlsproxy -u 4711 -server --x509certfile "$srcdir/server.pem" \ - --x509keyfile "$srcdir/server-key.pem" +tlsproxy_background -u 4711 +server_background --x509certfile "$srcdir/server.pem" \ + --x509keyfile "$srcdir/server-key.pem" wait_for_ports 4711 4712 @@ -72,8 +72,8 @@ test_no_invalid_certificate # Stop server and try a "MITM" with a bad certificate. echo kill $pid_server || echo 'failed to kill gnutls-serv' -server --x509certfile "$srcdir/server-bad.pem" \ - --x509keyfile "$srcdir/server-key.pem" +server_background --x509certfile "$srcdir/server-bad.pem" \ + --x509keyfile "$srcdir/server-key.pem" wait_for_ports 4712 rm -f certificate-localhost-proxy.pem certificate-localhost-server.pem