aboutsummaryrefslogtreecommitdiff
path: root/testsuite
AgeCommit message (Collapse)Author
2009-07-18fix taskset testsuiteDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-07-18correct date testsuite to use compatible formatDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-07-18touch: implement -d --date (our own testsuite needs that)Denys Vlasenko
function old new delta static.uname_longopts - 137 +137 touch_main 231 360 +129 static.touch_longopts - 32 +32 validate_tm_time - 28 +28 packed_usage 26616 26624 +8 date_main 687 686 -1 static.longopts 162 - -162 ------------------------------------------------------------------------------ (add/remove: 3/1 grow/shrink: 2/1 up/down: 334/-163) Total: 171 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-07-18date: factor out date parsing (in preparation for touch -d)Denys Vlasenko
function old new delta parse_datestr - 391 +391 sha512_process_block128 1283 1310 +27 buffer_fill_and_print 179 196 +17 nexpr 826 840 +14 unzip_main 1931 1939 +8 popstring 134 140 +6 qrealloc 33 36 +3 builtin_umask 121 123 +2 evalvar 1365 1363 -2 changepath 194 192 -2 do_compress 1698 1688 -10 hwclock_main 340 329 -11 cmdputs 414 402 -12 identify 4343 4329 -14 date_main 1186 687 -499 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 7/7 up/down: 468/-550) Total: -82 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-07-17test: fix "test !" and "test abc -a !". closes bug 465Denys Vlasenko
function old new delta nexpr 826 840 +14 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-07-10sed: deal with peculiar behavior of '2d;2,1p' in GNU sedDenys Vlasenko
function old new delta process_files 2173 2120 -53 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-07-02ls: fix --color handling. Closes bug 435.Denys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-07-02mdev: set $MDEV correctly for renamed nodesDenys Vlasenko
function old new delta make_device 1467 1502 +35 build_alias 78 - -78 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-06-30sed: fix handling of 1d;1,3p and 1d;1,REGEXpDenys Vlasenko
function old new delta process_files 2084 2173 +89 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-06-22mdev: fix the case when move rule deletes node with name == device_nameDenys Vlasenko
Signed-off-by: Jean Wolter <jw5@os.inf.tu-dresden.de> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-06-18printf: fix exit code on conversion errorDenys Vlasenko
Signed-off-by: Colin Watson <cjwatson@ubuntu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-06-15seq: fix testsuite failuresDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-06-13fix or document testsuite failuresDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-06-13test, tcpsvd, tcpsvd: shrinkDenys Vlasenko
function old new delta nexpr 825 826 +1 tcpudpsvd_main 1830 1822 -8 test_main 257 247 -10 binop 584 525 -59 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/3 up/down: 1/-77) Total: -76 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-06-13fix permissions in testsuiteDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-06-03rename CONFIG_FEATURE_TAR_GZIPBernhard Reutner-Fischer
CONFIG_FEATURE_TAR_GZIP was renamed to CONFIG_FEATURE_SEAMLESS_GZ. Adjust testsuite accordingly. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-05-28cpio.tests: fix false positiveDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-04-21*: mass renaming of USE_XXXX to IF_XXXXDenis Vlasenko
and SKIP_XXXX to IF_NOT_XXXX - the second one was especially badly named. It was not skipping anything!
2009-04-19mdev: support $ENVVAR=regexDenis Vlasenko
2009-04-16mdev: set mode, needed when device node already exists.Denis Vlasenko
2009-04-12awk: fix long field separators case. By Ian Wienand (ianw AT vmware.com)Denis Vlasenko
2009-03-15awk: fix compat issue found by gpm buildDenis Vlasenko
function old new delta as_regex 105 131 +26 hash_find 247 233 -14 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/1 up/down: 26/-14) Total: 12 bytes
2009-03-02tr: update testsuiteDenis Vlasenko
2009-03-01tr: support [:xdigit:], fix handling of ranges and [x]'s.Denis Vlasenko
add testsuite entry for each of 3 bugs fixed. function old new delta static.classes 73 82 +9 expand 1738 1743 +5 complement 74 72 -2 tr_main 472 463 -9 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/2 up/down: 14/-11) Total: 3 bytes
2009-01-25awk: in BEGIN section $0 should be "", not "0".Denis Vlasenko
2009-01-12mdev: fix breakage caused by unified parser usageDenis Vlasenko
2008-12-26unexpand: fix incorrect expansion, add test for itDenis Vlasenko
function old new delta expand_main 676 656 -20
2008-12-14expand: fix incorrect expansion exactly on tab boundary; shrink the codeDenis Vlasenko
function old new delta expand_main 698 676 -22 xputchar 53 - -53
2008-11-12- add seq -w support (Natanael Copa)Bernhard Reutner-Fischer
2008-09-25- update my name. No obj-code changes ;)Bernhard Reutner-Fischer
2008-09-25whitespace fixesDenis Vlasenko
2008-09-07watchdog: add -T optionDenis Vlasenko
function old new delta watchdog_main 159 219 +60 mdev: support match by major,minor. See bug 4714. +100 bytes.
2008-09-02awk: improve nadling of negative numbers in bitwise ops;Denis Vlasenko
fix handling of octal costants. add test for it function old new delta getvar_i_int - 93 +93 my_strtod - 84 +84 qrealloc 33 36 +3 getvar_i 99 95 -4 next_token 979 919 -60 evaluate 6359 5627 -732 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 1/3 up/down: 180/-796) Total: -616 bytes
2008-08-29build system: echo and test features may be enabledDenis Vlasenko
even if these applets are enabled as ash builtins only testsuite: add some awk tests
2008-08-09grep: option to use GNU regex matching instead of POSIX one.Denis Vlasenko
This fixes problems with NULs in files being scanned, but costs +800 bytes. The same can be done to sed (TODO).
2008-08-04xargs: fix -e default to match newer GNU xargs, add SUS mandated -E.Denis Vlasenko
closes bug 4414
2008-08-04fix some testsuite false positivesDenis Vlasenko
2008-08-03xargs: fix xargs -e; added test for thatDenis Vlasenko
2008-08-01makedevs: shrink (by Vladimir); testsuiteDenis Vlasenko
function old new delta makedevs_main 1153 1071 -82
2008-07-26fix several problems with config parser:Denis Vlasenko
a bug where it underflows the string a bug where it never frees parser_t struct make read_config() return 0 if parser is NULL, make config_close() accept and ignore NULL parser - eliminates many if() blocks reverse the sense of parser bit flags - negative flags are harder to grok. hexdump: revert the change to use config parser, it is BIGGER and also requires additional quirks in parser *: explicitly use PARSER_NORMAL instead of 0 function old new delta login_main 1575 1596 +21 config_close 18 29 +11 bbunpack 383 391 +8 qgravechar 106 109 +3 rtnl_tab_initialize 121 117 -4 expand 1697 1693 -4 man_main 717 712 -5 nameif_main 674 668 -6 hexdump_main 597 591 -6 read_config 217 209 -8 dnsd_main 1478 1470 -8 sysctl_main 203 189 -14 config_open2 44 25 -19 make_device 1177 1141 -36 config_read 597 549 -48 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/11 up/down: 43/-158) Total: -115 bytes
2008-07-26mdev: do not complain if mdev.conf does not exist;Denis Vlasenko
use #if to prevent gcc from generating dead code (sadly, it's more ugly this way)
2008-07-20libbb/parse_config.c: fix small buglet (by Vladimir)Denis Vlasenko
2008-07-20tar: fix handling of tarballs with symlinks with size field != 0Denis Vlasenko
2008-07-19libbb: updated config_parse() from VladimirDenis Vlasenko
function old new delta config_read 385 460 +75 runsvdir_main 1701 1716 +15 readit 331 338 +7 passwd_main 1049 1053 +4 parse_command 1504 1507 +3 decode_format_string 822 824 +2 bb__parsespent 117 119 +2 udhcp_get_option 221 222 +1 changepath 196 194 -2 parse_inittab 400 396 -4 nameif_main 683 679 -4 make_device 1176 1172 -4 config_open 48 40 -8 expand_main 698 689 -9 readcmd 1012 1002 -10 config_free_data 37 21 -16 SynchronizeFile 683 643 -40 sleep_main 474 362 -112 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 8/10 up/down: 109/-209) Total: -100 bytes
2008-07-19test: fix parser to prefer binop over unop, as coreutils does.Denis Vlasenko
remove bogus workaround in main(). rename atrocious variables/functions. much expand testsuite. libbb: fix --help to not affect "test --help" function old new delta run_applet_no_and_exit 421 440 +19 nexpr 817 825 +8 static.no_op - 6 +6 test_main 397 257 -140 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 2/1 up/down: 104/-211) Total: -107 bytes
2008-07-18printf: do not print garbage on "%Ld". closes bug 4214.Denis Vlasenko
function old new delta printf_main 633 637 +4 multiconvert 99 79 -20 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/1 up/down: 4/-20) Total: -16 bytes
2008-07-18printf: fix %b, fix several bugs in %*.*, fix compat issues withDenis Vlasenko
aborting too early, support %zd; expand testsuite function old new delta get_width_prec - 46 +46 multiconvert 82 99 +17 conv_strtod 44 54 +10 print_direc 382 391 +9 printf_main 629 633 +4 conv_strtoul 20 16 -4 conv_strtol 20 16 -4 my_xstrtoul 20 - -20 my_xstrtol 20 - -20 my_xstrtod 21 - -21 ------------------------------------------------------------------------------ (add/remove: 1/3 grow/shrink: 4/2 up/down: 86/-69) Total: 17 bytes
2008-07-17printf: protect against bogus format specifiers. Hopefully closes bug 4184Denis Vlasenko
2008-07-15comm: almost total rewrite; add testsuiteDenis Vlasenko
function old new delta writeline 128 125 -3 comm_main 540 239 -301 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-304) Total: -304 bytes
2008-07-11cpio: testsuite for http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466771Denis Vlasenko
which was fixed in proevious commit