summaryrefslogtreecommitdiff
path: root/tests/bignum
blob: a0c95f61aeafe6a94edb600df12e5c9f4c344300 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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