]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
skip the test if softhsm doesn't exist
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 5 Apr 2014 08:14:41 +0000 (10:14 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 5 Apr 2014 08:14:41 +0000 (10:14 +0200)
tests/suite/testpkcs11

index a315d5f6fce1303305c365c927556b13b445db6b..37b0325203cab52f8affd0e69c3eea4b0e7a4b52 100755 (executable)
@@ -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"