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