X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=tests%2Ftests-passthrough.sh;h=fd0c37848cade581031cb5c78a1fe7d5d16f5ada;hb=772b48529c4ed7b7e81846c3b56075aaf97e9ea6;hp=dcd96885309615db55cac9ebac2b5816b35f60e3;hpb=d778944d0403b093d43d9cbd94bd298bfc3a8d42;p=tlsproxy%2Ftlsproxy.git diff --git a/tests/tests-passthrough.sh b/tests/tests-passthrough.sh index dcd9688..fd0c378 100755 --- a/tests/tests-passthrough.sh +++ b/tests/tests-passthrough.sh @@ -18,9 +18,7 @@ # along with this program. If not, see . -# Handle empty $srcdir. -[ "x$srcdir" = x ] && srcdir=. - +test "x$srcdir" = x && srcdir=. . "$srcdir/common.sh" @@ -117,9 +115,7 @@ test_proxy_successful test_invalid_certificate -pkill -n gnutls-serv -pkill -n tlsproxy - +stop_servers cleanup rm -f tmp