File: bignum

package info (click to toggle)
diffutils 1%3A3.5-3
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 12,384 kB
  • ctags: 6,062
  • sloc: ansic: 70,642; sh: 10,684; perl: 450; makefile: 204; sed: 16
file content (14 lines) | stat: -rwxr-xr-x 258 bytes parent folder | download | duplicates (6)
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