From c0f0b967a81156e781ebe335eebe9932ceb10ce2 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Fri, 18 Dec 2020 07:00:59 -0600 Subject: Add seq INT_MIN test. --- tests/seq.test | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests') diff --git a/tests/seq.test b/tests/seq.test index 4284617d..05d9b1e9 100755 --- a/tests/seq.test +++ b/tests/seq.test @@ -70,4 +70,7 @@ testing "invalid increment" "seq 1 1f 1 2>/dev/null || echo y" "y\n" "" "" # TODO: busybox fails this too, but GNU seems to not use double for large ints. #testing "too large for double" "seq -s, 9007199254740991 1 9007199254740992" "9007199254740992\n" "" "" +testing "INT_MIN" "seq -2147483648 -2147483647" "-2147483648\n-2147483647\n"\ + "" "" + testing "fast path" "timeout 10 seq 10000000 > /dev/null" "" "" "" -- cgit v1.2.3