diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2022-01-05 12:05:55 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2022-01-05 12:05:55 +0100 |
commit | 34e0bb3931b595e7a48061255692ec4ff29499c5 (patch) | |
tree | 7d4095eac56be1bf6d824180a7c102a4e31e680b /testsuite | |
parent | cc7d2e21780c28608b00a4faf0fed297527bcbf4 (diff) | |
download | busybox-w32-34e0bb3931b595e7a48061255692ec4ff29499c5.tar.gz busybox-w32-34e0bb3931b595e7a48061255692ec4ff29499c5.tar.bz2 busybox-w32-34e0bb3931b595e7a48061255692ec4ff29499c5.zip |
sort: support -h
function old new delta
static.scale_suffix - 62 +62
.rodata 104304 104336 +32
compare_keys 820 848 +28
packed_usage 34159 34184 +25
static.suffix - 9 +9
sort_opt_str 37 38 +1
------------------------------------------------------------------------------
(add/remove: 2/0 grow/shrink: 4/0 up/down: 157/0) Total: 157 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/sort.tests | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testsuite/sort.tests b/testsuite/sort.tests index 5375f93de..ff33e21b4 100755 --- a/testsuite/sort.tests +++ b/testsuite/sort.tests | |||
@@ -188,6 +188,35 @@ c 1 | |||
188 | d 2 | 188 | d 2 |
189 | " "" | 189 | " "" |
190 | 190 | ||
191 | testing "sort -h" \ | ||
192 | "sort -h input" "\ | ||
193 | 3e | ||
194 | 4m | ||
195 | 5y | ||
196 | 1023 | ||
197 | 1024 | ||
198 | 1025 | ||
199 | 3000 | ||
200 | 2K | ||
201 | 3k | ||
202 | 1M | ||
203 | 2E | ||
204 | 1Y | ||
205 | " "\ | ||
206 | 1Y | ||
207 | 5y | ||
208 | 1M | ||
209 | 2E | ||
210 | 3k | ||
211 | 3e | ||
212 | 2K | ||
213 | 4m | ||
214 | 1023 | ||
215 | 1025 | ||
216 | 3000 | ||
217 | 1024 | ||
218 | " "" | ||
219 | |||
191 | # testing "description" "command(s)" "result" "infile" "stdin" | 220 | # testing "description" "command(s)" "result" "infile" "stdin" |
192 | 221 | ||
193 | exit $FAILCOUNT | 222 | exit $FAILCOUNT |