]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
tests: only run test with long dates in 64-bit systems
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Wed, 17 Jun 2015 20:26:51 +0000 (22:26 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Wed, 17 Jun 2015 20:28:14 +0000 (22:28 +0200)
tests/cert-tests/template-test

index 1a55134c3770b21e26ba75106abec3d372ccaaf5..8143bfac5f33464bb6dbf8c21105a2534ca52541 100755 (executable)
@@ -234,6 +234,8 @@ fi
 rm -f tmp-tt.pem
 
 # Test the GeneralizedTime support
+if test "$(getconf LONG_BIT)" = "64";then
+# we should test that on systems which have 64-bit time_t.
 rc=1
 counter=1
 
@@ -258,6 +260,8 @@ if test "$rc" != "0"; then
   exit $rc
 fi
 
+fi
+
 rm -f tmp-tt.pem