]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
testcompat-polarssl: try to run the test only if polarssl binaries are available
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Tue, 4 Nov 2014 08:16:52 +0000 (09:16 +0100)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Tue, 4 Nov 2014 08:16:52 +0000 (09:16 +0100)
tests/suite/testcompat-polarssl

index 3b670997bf97f7f813a5e98bbc346ea4d8020a36..cd0d9f4069d0531bfe74ba85d3fd34d95d7b0821 100755 (executable)
@@ -54,6 +54,11 @@ if test $SV != 0;then
   exit 77
 fi
 
+if ! test -x $POLARSSL;then
+  echo "PolarSSL is required for this test to run"
+  exit 77
+fi
+
 . ./testcompat-common
 
 echo ""