]> ruderich.org/simon Gitweb - tlsproxy/tlsproxy.git/blobdiff - tests/tests-authentication.sh
Update copyright year.
[tlsproxy/tlsproxy.git] / tests / tests-authentication.sh
index 1ad5bc788b5d90fbbf0159674de6a59c29c8ce87..ca58837b7b65e2be33e46597ba2b6674fd8ee2a8 100755 (executable)
@@ -2,7 +2,7 @@
 
 # Test authentication.
 
-# Copyright (C) 2013  Simon Ruderich
+# Copyright (C) 2013-2014  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
@@ -26,10 +26,10 @@ test "x$srcdir" = x && srcdir=.
 cleanup
 tlsproxy_setup
 
-echo 'dXNlcm5hbWU6cGFzc3dvcmQ=' > digest-authentication
-tlsproxy -a digest-authentication 4711
-server --x509certfile "$srcdir/server.pem" \
-       --x509keyfile "$srcdir/server-key.pem"
+echo 'dXNlcm5hbWU6cGFzc3dvcmQ=' >digest-authentication
+tlsproxy_background -a digest-authentication 4711
+server_background --x509certfile "$srcdir/server.pem" \
+                  --x509keyfile "$srcdir/server-key.pem"
 wait_for_ports 4711 4712
 rm -f digest-authentication