summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2015-03-05 19:03:34 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2015-03-05 19:05:14 +0100
commit435de2819b81adc0c1449042ff0909893cbea137 (patch)
tree3a0c61fb35b9a7ab0d91cea12b365b3aa9120130
parent9996a81d2165d557ef76438109906c5fd6c18ccf (diff)
downloadgnutls-435de2819b81adc0c1449042ff0909893cbea137.tar.gz
tests: don't perform the overflow check in 32-bit systems
-rwxr-xr-xtests/cert-tests/template-test4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/cert-tests/template-test b/tests/cert-tests/template-test
index ae251d45fc..63a887c75f 100755
--- a/tests/cert-tests/template-test
+++ b/tests/cert-tests/template-test
@@ -150,6 +150,9 @@ fi
rm -f tmp-tt.pem
+# The following test works in 64-bit systems
+if echo __SIZEOF_POINTER__ | cpp -E - - | grep '^8$' >/dev/null; then
+
rc=1
counter=1
@@ -174,6 +177,7 @@ if test "$rc" != "0"; then
fi
rm -f tmp-tt.pem
+fi
rc=1
counter=1