aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/seq.test3
1 files changed, 3 insertions, 0 deletions
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" "" "" ""