X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=tests%2Ftests-normal.sh;h=44eda5b17883b3fa4da5c9e7a0d5fd3cc7dbd315;hb=c5361173b37650c904099185e2afa58bbd395c06;hp=11c5eafd85d16457d104beaa81b41b505bb637db;hpb=44ab705f30eb1fcb7a86155a6abf01b9394a8db1;p=tlsproxy%2Ftlsproxy.git diff --git a/tests/tests-normal.sh b/tests/tests-normal.sh index 11c5eaf..44eda5b 100755 --- a/tests/tests-normal.sh +++ b/tests/tests-normal.sh @@ -2,7 +2,7 @@ # Normal tlsproxy tests. # -# Copyright (C) 2011-2012 Simon Ruderich +# Copyright (C) 2011-2013 Simon Ruderich # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -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" @@ -113,9 +111,7 @@ test_proxy_successful test_invalid_certificate -pkill -n gnutls-serv -pkill -n tlsproxy - +stop_servers cleanup rm -f tmp