diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2023-04-10 14:33:20 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2023-04-10 14:33:20 +0200 |
commit | 9bc2b6e88474a8ebb50c94f29320d343bd374928 (patch) | |
tree | 0af73191b3842822d9d1bf7e8729ea49a4df1a2d /testsuite | |
parent | a26711a2d1464167be4ebc990fe21a3809a2da34 (diff) | |
download | busybox-w32-9bc2b6e88474a8ebb50c94f29320d343bd374928.tar.gz busybox-w32-9bc2b6e88474a8ebb50c94f29320d343bd374928.tar.bz2 busybox-w32-9bc2b6e88474a8ebb50c94f29320d343bd374928.zip |
seq: accept negative parameters
function old new delta
seq_main 429 476 +47
packed_usage 34557 34538 -19
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/1 up/down: 47/-19) Total: 28 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/seq.tests | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/seq.tests b/testsuite/seq.tests index 1e1116c7d..d414169c9 100755 --- a/testsuite/seq.tests +++ b/testsuite/seq.tests | |||
@@ -43,4 +43,7 @@ testing "seq count down by 3 with padding" "seq -w 8 -3 04" "08\n05\n" "" "" | |||
43 | testing "seq count by .3 with padding 1" "seq -w 09 .3 11" "09.0\n09.3\n09.6\n09.9\n10.2\n10.5\n10.8\n" "" "" | 43 | testing "seq count by .3 with padding 1" "seq -w 09 .3 11" "09.0\n09.3\n09.6\n09.9\n10.2\n10.5\n10.8\n" "" "" |
44 | testing "seq count by .3 with padding 2" "seq -w 03 .3 0004" "0003.0\n0003.3\n0003.6\n0003.9\n" "" "" | 44 | testing "seq count by .3 with padding 2" "seq -w 03 .3 0004" "0003.0\n0003.3\n0003.6\n0003.9\n" "" "" |
45 | 45 | ||
46 | testing "seq from -4 count down by 2" "seq -4 -2 -8" "-4\n-6\n-8\n" "" "" | ||
47 | testing "seq from -.0 count down by .25" "seq -.0 -.25 -.9" "-0.00\n-0.25\n-0.50\n-0.75\n" "" "" | ||
48 | |||
46 | exit $FAILCOUNT | 49 | exit $FAILCOUNT |