diff options
Diffstat (limited to 'tests/fastopen.sh')
-rwxr-xr-x | tests/fastopen.sh | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/tests/fastopen.sh b/tests/fastopen.sh index 2d0bd86182..fffc6493bc 100755 --- a/tests/fastopen.sh +++ b/tests/fastopen.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 Fast open" |