From: Nikos Mavrogiannopoulos Date: Wed, 17 Jun 2015 20:26:51 +0000 (+0200) Subject: tests: only run test with long dates in 64-bit systems X-Git-Tag: gnutls_3_4_3~80 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=338a475640b8d3bb92b39bf77998b2898c271ba5;p=thirdparty%2Fgnutls.git tests: only run test with long dates in 64-bit systems --- diff --git a/tests/cert-tests/template-test b/tests/cert-tests/template-test index 1a55134c37..8143bfac5f 100755 --- a/tests/cert-tests/template-test +++ b/tests/cert-tests/template-test @@ -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