summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2013-11-10 18:56:44 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2013-11-10 19:01:24 +0100
commit155545dd021bd7deca957b1757e33290dd971eb1 (patch)
treef7a0e9816e11db257e89402f37ed090860dbbadd /tests
parent3e1db10f9f099355a5333741d4c224bf147b5ae0 (diff)
downloadgnutls-155545dd021bd7deca957b1757e33290dd971eb1.tar.gz
do not run on clippled versions of openssl
Diffstat (limited to 'tests')
-rwxr-xr-xtests/suite/testcompat6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/suite/testcompat b/tests/suite/testcompat
index f299489683..ea3d5d2cdc 100755
--- a/tests/suite/testcompat
+++ b/tests/suite/testcompat
@@ -25,6 +25,12 @@ if ! test -x /usr/bin/openssl;then
exit 77
fi
+/usr/bin/openssl version|grep fips >/dev/null 2>&1
+if test $? = 0;then
+ echo "You need the full openssl to run this test (fips is not enough)"
+ exit 77
+fi
+
# Check for datefudge
TSTAMP=`datefudge "2006-09-23 00:00 UTC" date -u +%s`
if test "$TSTAMP" != "1158969600"; then