From: Nikos Mavrogiannopoulos Date: Sat, 5 Apr 2014 08:14:41 +0000 (+0200) Subject: skip the test if softhsm doesn't exist X-Git-Tag: gnutls_3_3_0~37 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3dc89b570cf14faddd7889ee464a4ef90ae5a373;p=thirdparty%2Fgnutls.git skip the test if softhsm doesn't exist --- diff --git a/tests/suite/testpkcs11 b/tests/suite/testpkcs11 index a315d5f6fc..37b0325203 100755 --- a/tests/suite/testpkcs11 +++ b/tests/suite/testpkcs11 @@ -31,6 +31,10 @@ if test "${WINDIR}" != "";then exit 77 fi +if ! test -x "/usr/bin/softhsm";then + exit 77 +fi + . $srcdir/../scripts/common.sh echo "Testing PKCS11 support"