X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=tests%2Fcommon.sh;h=37c691beaf71bbb43480940b98dc58c9e17e1875;hb=2a478be51f6e6d8f56895e3fee3b122625042d8c;hp=eb60743d89a21087bd6e1fff1e7b9699037f9099;hpb=94b7d1f951f5707dfc47c3ab48c0889af8b0ed9d;p=tlsproxy%2Ftlsproxy.git diff --git a/tests/common.sh b/tests/common.sh index eb60743..37c691b 100644 --- a/tests/common.sh +++ b/tests/common.sh @@ -35,7 +35,10 @@ abort() { exit 1 } tlsproxy_setup() { - "$srcdir/../src/tlsproxy-setup" >/dev/null 2>/dev/null + "$srcdir/../src/tlsproxy-setup" >/dev/null 2>&1 +} +tlsproxy_add() { + "$srcdir/../src/tlsproxy-add" "$1" "$srcdir/$2" >/dev/null 2>&1 } tlsproxy() { ../src/tlsproxy -d2 "$@" >tlsproxy-log 2>&1 &