File: bignum

package info (click to toggle)
diffutils 1%3A3.8-4
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 14,768 kB
  • sloc: ansic: 87,035; sh: 11,452; perl: 450; makefile: 214; 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