X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=tests%2Ftests-authentication.sh;h=ca58837b7b65e2be33e46597ba2b6674fd8ee2a8;hb=7eba49d24d56288d83746f3f0ce383d7c0c36552;hp=1ad5bc788b5d90fbbf0159674de6a59c29c8ce87;hpb=a84000d1d2806c296bfc0fa4b505b5d5ef750715;p=tlsproxy%2Ftlsproxy.git diff --git a/tests/tests-authentication.sh b/tests/tests-authentication.sh index 1ad5bc7..ca58837 100755 --- a/tests/tests-authentication.sh +++ b/tests/tests-authentication.sh @@ -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