From a3ec215973c3653ebdeb81dcdd1274519c376a3d Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Sun, 21 Aug 2016 05:23:24 +0000 Subject: diffutils-3.5 --- tests/bignum | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 tests/bignum (limited to 'tests/bignum') 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 -- cgit v1.2.1