]> ruderich.org/simon Gitweb - tlsproxy/tlsproxy.git/blobdiff - tests/common.sh
tests: Add tlsproxy_setup() helper function.
[tlsproxy/tlsproxy.git] / tests / common.sh
index d2b3459cee64123b75e81d65f3b80123c50e6aff..eb60743d89a21087bd6e1fff1e7b9699037f9099 100644 (file)
@@ -34,6 +34,9 @@ abort() {
     stop_servers
     exit 1
 }
+tlsproxy_setup() {
+    "$srcdir/../src/tlsproxy-setup" >/dev/null 2>/dev/null
+}
 tlsproxy() {
     ../src/tlsproxy -d2 "$@" >tlsproxy-log 2>&1 &
     pid_tlsproxy=$!