]> ruderich.org/simon Gitweb - tlsproxy/tlsproxy.git/commitdiff
tests/common.sh: Log output of tlsproxy to tlsproxy-log.
authorSimon Ruderich <simon@ruderich.org>
Sun, 28 Jul 2013 11:51:23 +0000 (13:51 +0200)
committerSimon Ruderich <simon@ruderich.org>
Sun, 28 Jul 2013 11:51:23 +0000 (13:51 +0200)
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() {