diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2016-08-21 05:23:24 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2016-08-21 05:23:24 +0000 |
commit | a3ec215973c3653ebdeb81dcdd1274519c376a3d (patch) | |
tree | dc0edc2133786db0565f19d51c4a9957dd69e2ac /tests/bignum | |
download | diffutils-tarball-master.tar.gz |
diffutils-3.5HEADdiffutils-3.5master
Diffstat (limited to 'tests/bignum')
-rwxr-xr-x | tests/bignum | 14 |
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 |