summaryrefslogtreecommitdiff
path: root/tests/bignum
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bignum')
-rwxr-xr-xtests/bignum14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/bignum b/tests/bignum
new file mode 100755
index 0000000..a0c95f6
--- /dev/null
+++ b/tests/bignum
@@ -0,0 +1,14 @@
+#!/bin/sh
+# big numbers
+
+. "${srcdir=.}/init.sh"; path_prepend_ ../src
+
+fail=0
+
+for tabsize in 2147483648 9223372036854775808; do
+ diff --tabsize=$tabsize /dev/null /dev/null
+ status=$?
+ test $status -eq 0 || test $status -eq 2 || fail=1
+done
+
+Exit $fail