X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=tests%2Ftests-normal.sh;h=57ce39a8a12b8dfbcd1797ee5b98fd147ed92386;hb=2e96ede8aa7a32d840fa62fd8c4520960b69348d;hp=3b9f9f38d670f447df9bb3d93719aa5bc31497a7;hpb=94b7d1f951f5707dfc47c3ab48c0889af8b0ed9d;p=tlsproxy%2Ftlsproxy.git diff --git a/tests/tests-normal.sh b/tests/tests-normal.sh index 3b9f9f3..57ce39a 100755 --- a/tests/tests-normal.sh +++ b/tests/tests-normal.sh @@ -44,8 +44,7 @@ test_proxy_successful test_invalid_certificate # Create the proxy certificate. -"$srcdir/../src/tlsproxy-add" localhost "$srcdir/server.pem" \ - >/dev/null 2>/dev/null +tlsproxy_add localhost server.pem echo missing server certificate mv certificate-localhost-server.pem .pem @@ -88,8 +87,7 @@ test_proxy_successful test_invalid_certificate # Create the proxy certificate. -"$srcdir/../src/tlsproxy-add" localhost "$srcdir/server.pem" \ - >/dev/null 2>/dev/null +tlsproxy_add localhost server.pem echo mitm missing server certificate mv certificate-localhost-server.pem .pem @@ -111,7 +109,7 @@ test_proxy_successful test_invalid_certificate -stop_servers +# stop_servers in trap-handler cleanup exit 0