X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=tests%2Fcommon.sh;fp=tests%2Fcommon.sh;h=8a220d6c618537a785c1b87f4c16784d9f1c0f45;hb=f30571ef2623133a3d884fe99eb65093292433ac;hp=eb60743d89a21087bd6e1fff1e7b9699037f9099;hpb=03730b2a293d37f2cae5abb9491ee052b24f657e;p=tlsproxy%2Ftlsproxy.git diff --git a/tests/common.sh b/tests/common.sh index eb60743..8a220d6 100644 --- a/tests/common.sh +++ b/tests/common.sh @@ -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=$!