]> ruderich.org/simon Gitweb - tlsproxy/tlsproxy.git/blobdiff - tests/tests-normal.sh
tests: Cleanup.
[tlsproxy/tlsproxy.git] / tests / tests-normal.sh
index 60c56cadfedb80cf8f7ff03d5e7d232020b9fc4f..44eda5b17883b3fa4da5c9e7a0d5fd3cc7dbd315 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"
 
 
@@ -113,9 +111,7 @@ test_proxy_successful
 test_invalid_certificate
 
 
-pkill -n gnutls-serv
-pkill -n tlsproxy
-
+stop_servers
 cleanup
 rm -f tmp