summaryrefslogtreecommitdiff
path: root/test/scripts
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2013-09-15 16:41:40 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2013-09-15 16:41:40 +0100
commit725735cdc6e1fb7a32b23364d75e14557af6de08 (patch)
treecf4588264853abd6236d444c936764ab2b1ed246 /test/scripts
parentc5c2182fe8a0ca17941b129ac430ac6d24482d82 (diff)
Fix numeric comparisons for 64b. Bug 1385
Diffstat (limited to 'test/scripts')
-rw-r--r--test/scripts/0000-Basic/000210
1 files changed, 6 insertions, 4 deletions
diff --git a/test/scripts/0000-Basic/0002 b/test/scripts/0000-Basic/0002
index 1ea5c4a48..b924a0934 100644
--- a/test/scripts/0000-Basic/0002
+++ b/test/scripts/0000-Basic/0002
@@ -287,10 +287,12 @@ mask: ${if eq {1}{2}{${mask:invalid}}{NO}}
# Numeric overflow
# >32b should work, >64b not
-4096M ${if >{1}{4096M}{y}{n}}
-4096000000 ${if >{1}{4096000000}{y}{n}}
-4611686018427387904 ${if >{1}{4611686018427387904} {y}{n}}
-46116860184273879040 ${if >{1}{46116860184273879040}{y}{n}}
+1 > 2047M ${if >{1}{2047M}{y}{n}}
+1 > 2048M ${if >{1}{2048M}{y}{n}}
+1 > 4096000000 ${if >{1}{4096000000}{y}{n}}
+1 > 4096M ${if >{1}{4096M}{y}{n}}
+1 > 4611686018427387904 ${if >{1}{4611686018427387904} {y}{n}}
+1 > 46116860184273879040 ${if >{1}{46116860184273879040}{y}{n}}
# Conditions