diff options
Diffstat (limited to 'tests/suite/testsrn.sh')
-rwxr-xr-x | tests/suite/testsrn.sh | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/tests/suite/testsrn.sh b/tests/suite/testsrn.sh index 446a988282..b41dbb442f 100755 --- a/tests/suite/testsrn.sh +++ b/tests/suite/testsrn.sh @@ -21,10 +21,18 @@ # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. srcdir="${srcdir:-.}" -SERV="${SERV:-../../src/gnutls-serv${EXEEXT}} -q" +SERV="${SERV:-../../src/gnutls-serv${EXEEXT}}" CLI="${CLI:-../../src/gnutls-cli${EXEEXT}}" unset RETCODE +if ! test -x "${SERV}"; then + exit 77 +fi + +if ! test -x "${CLI}"; then + exit 77 +fi + if test "${WINDIR}" != ""; then exit 77 fi @@ -34,6 +42,8 @@ if ! test -z "${VALGRIND}"; then fi +SERV="${SERV} -q" + . "${srcdir}/../scripts/common.sh" echo "Checking Safe renegotiation" |