X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=tests%2Fcommon.sh;h=8a220d6c618537a785c1b87f4c16784d9f1c0f45;hb=f30571ef2623133a3d884fe99eb65093292433ac;hp=d2b3459cee64123b75e81d65f3b80123c50e6aff;hpb=9fb20ff647d6d494d99184875d2c60586107d34c;p=tlsproxy%2Ftlsproxy.git diff --git a/tests/common.sh b/tests/common.sh index d2b3459..8a220d6 100644 --- a/tests/common.sh +++ b/tests/common.sh @@ -34,6 +34,12 @@ abort() { stop_servers exit 1 } +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=$!