summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2016-09-03 10:40:43 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2016-09-03 15:43:01 +0200
commit7f0e27adfcb3cc2a2a65ddd5543c6f2d2b233940 (patch)
tree54c272d88fa399383560820b367c2d5216feb634
parent9dfb9bd5f71361a52f604c90f29256d6243a53ee (diff)
downloadgnutls-7f0e27adfcb3cc2a2a65ddd5543c6f2d2b233940.tar.gz
tests: don't run overflow tests on archs which fail
This addresses a CI failure on x86.
-rwxr-xr-xtests/cert-tests/template-test5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/cert-tests/template-test b/tests/cert-tests/template-test
index 4a3e38284b..8bbc9115a0 100755
--- a/tests/cert-tests/template-test
+++ b/tests/cert-tests/template-test
@@ -150,7 +150,6 @@ if test "$rc" != "0"; then
fi
rm -f tmp-tt.pem
-fi
rc=1
counter=1
@@ -175,6 +174,7 @@ if test "$rc" != "0"; then
fi
rm -f tmp-tt.pem
+fi
rc=1
counter=1
@@ -227,6 +227,8 @@ fi
rm -f tmp-tt.pem
# Test the GeneralizedTime support
+if test "$(getconf LONG_BIT)" = "64"; then
+
rc=1
counter=1
@@ -253,5 +255,6 @@ fi
rm -f tmp-tt.pem
+fi
exit 0