]> ruderich.org/simon Gitweb - tlsproxy/tlsproxy.git/blobdiff - tests/tests-passthrough.sh
tests: Cleanup.
[tlsproxy/tlsproxy.git] / tests / tests-passthrough.sh
index dcd96885309615db55cac9ebac2b5816b35f60e3..fd0c37848cade581031cb5c78a1fe7d5d16f5ada 100755 (executable)
@@ -18,9 +18,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 
-# 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