]> ruderich.org/simon Gitweb - tlsproxy/tlsproxy.git/blobdiff - tests/common.sh
tests/common.sh: Log output of tlsproxy to tlsproxy-log.
[tlsproxy/tlsproxy.git] / tests / common.sh
index c66fa55216815bb68861a71554db00958bd88a20..1ca15837a47bdc5864db80e59f7de479f437a41c 100644 (file)
@@ -21,7 +21,7 @@ set -e
 
 cleanup() {
     rm -f \
-        tmp \
+        tmp tlsproxy-log \
         certificate-localhost-proxy.pem certificate-localhost-server.pem \
         proxy-ca-key.pem proxy-ca.pem proxy-invalid.pem proxy-key.pem
 }
@@ -35,7 +35,7 @@ abort() {
     exit 1
 }
 tlsproxy() {
-    ../src/tlsproxy -d2 "$@" >/dev/null &
+    ../src/tlsproxy -d2 "$@" >tlsproxy-log 2>&1 &
     pid_tlsproxy=$!
 }
 server() {