diff options
Diffstat (limited to 'tests/cert-tests/openpgp-certs')
-rwxr-xr-x | tests/cert-tests/openpgp-certs | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/tests/cert-tests/openpgp-certs b/tests/cert-tests/openpgp-certs index 3cee344253..69ecc1a4ff 100755 --- a/tests/cert-tests/openpgp-certs +++ b/tests/cert-tests/openpgp-certs @@ -21,9 +21,18 @@ # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. srcdir="${srcdir:-.}" -SERV="${SERV:-../../src/gnutls-serv} -q" +SERV="${SERV:-../../src/gnutls-serv}" CLI="${CLI:-../../src/gnutls-cli}" DEBUG="" + +if ! test -x "${SERV}"; then + exit 77 +fi + +if ! test -x "${CLI}"; then + exit 77 +fi + if ! test -z "${VALGRIND}"; then VALGRIND="${LIBTOOL:-libtool} --mode=execute ${VALGRIND} --error-exitcode=15" fi @@ -32,6 +41,8 @@ if test "${WINDIR}" != ""; then exit 77 fi +SERV="${SERV} -q" + . "${srcdir}/../scripts/common.sh" echo "Checking OpenPGP certificate verification" |