aboutsummaryrefslogtreecommitdiff
path: root/testsuite
AgeCommit message (Collapse)Author
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
2008-07-11testsuite: uniformly use $ECHO with -n -eDenis Vlasenko
2008-07-08mount: testsuite for "-o mand"Denis Vlasenko
2008-07-01ssd: do not stat -x EXECUTABLE, it is not needed anymoreDenis Vlasenko
ssd: use PATH ssd: fix -a without -x case ssd: fix help text ssd: CLOSE_EXTRA_FDS in MMU case too ssd: add testsuite
2008-07-01awk: fix a case with multiple -f options. simplify -f file reading.Denis Vlasenko
function old new delta parse_expr 833 841 +8 qrealloc 33 36 +3 next_input_file 203 198 -5 afopen 22 - -22 ftello 41 - -41 ftell 41 - -41 __GI_ftell 41 - -41 awk_main 1002 944 -58 ------------------------------------------------------------------------------ (add/remove: 0/4 grow/shrink: 2/2 up/down: 11/-208) Total: -197 bytes text data bss dec hex filename 804232 610 6804 811646 c627e busybox_old 804120 610 6804 811534 c620e busybox_unstripped
2008-06-26bunzip2: fix an uncompression error. Add the example to testsuite.Denis Vlasenko
2008-06-07grep: make "-f -" work (+ testsuite)Denis Vlasenko
diff: small code shrink function old new delta grep_main 722 714 -8 diffreg 1825 1793 -32 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-40) Total: -40 bytes
2008-06-05added testsuite for printf by Cristian Ionescu-IdbohrnDenis Vlasenko
2008-05-15testsuite instrumentation fixes by ChristianDenis Vlasenko
2008-05-06cpio.tests: remove useless commandDenis Vlasenko
2008-05-03uniq: support -w. closes bug 3094.Denis Vlasenko
function old new delta packed_usage 24136 24132 -4 uniq_main 399 384 -15
2008-05-02more fixes to testsuite by Cristian and vdaDenis Vlasenko
2008-05-02clarify grep versionDenis Vlasenko
2008-05-02mdev: fix a bug where we were eating argv[0] of helperDenis Vlasenko
2008-05-02fix grep test false positiveDenis Vlasenko
2008-05-02testing.sh: bashisms are eradicated.Denis Vlasenko
By Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn AT axis.com>
2008-05-02runtest: the saga continues :(Denis Vlasenko
2008-04-30echo: fix echo -e -n "msg\n\0"Denis Vlasenko
(by "Pinedo, David" <david.pinedo AT hp.com>)
2008-04-29runtest: more cleanupsDenis Vlasenko
2008-04-29tar: add testsuite entriesDenis Vlasenko
2008-04-28date: better version of previous commit; + fix testsuiteDenis Vlasenko
to have it checked
2008-04-27cp: fix "cp -RL" to create regular files even if src is a symlinkDenis Vlasenko
2008-04-27date: fix date-works test, add date-works-1 one (currently fails)Denis Vlasenko
2008-04-27runtest: fix fallout from mucking with runtest :( [vda's fault]Denis Vlasenko
2008-04-27runtest: even more fixes from CristianDenis Vlasenko
2008-04-27runtest: further fixes from Cristian Ionescu-Idbohrn ↵Denis Vlasenko
<cristian.ionescu-idbohrn AT axis.com>
2008-04-26runtest: use numeric compare instead of string where appropriateDenis Vlasenko
2008-04-25testsuite/runtest: remove (last) bashismDenis Vlasenko
mkswap: fix selinux build
2008-04-25date: make it accept ISO date format. Fix help text.Denis Vlasenko
make testsuite actually test something useful. function old new delta date_main 1094 1149 +55
2008-04-24partially fix date testsuiteDenis Vlasenko
2008-04-23testsuite: fix du testsuite to not use changing directoriesDenis Vlasenko
2008-04-23testsuite: runtest enhancements by Cristian Ionescu-IdbohrnDenis Vlasenko
2008-04-23testsuite: fixDenis Vlasenko
2008-04-14od: fix testsuiteDenis Vlasenko
2008-04-14od: fix "od -b"Denis Vlasenko
2008-04-05cpio: actually add testsuite entry...Denis Vlasenko
2008-04-02expr: fix comparisons 'a < b' where we were overflowing a-bDenis Vlasenko
(not to mention that we used int, not arith_t). closes bug 2744. Also, shrink a bit and add testsuite entry function old new delta nextarg 75 84 +9 tostring 38 35 -3 toarith 89 86 -3 str_value 35 32 -3 eval6 555 552 -3 int_value 29 23 -6 eval4 128 120 -8 eval3 112 104 -8 eval2 512 417 -95 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/8 up/down: 9/-129) Total: -120 bytes
2008-03-29mdev: optional support for regex pattern group substitution.Denis Vlasenko
+142 bytes.
2008-03-29mdev: fix "foo 0:0 444 >bar/baz" rule handling. make_device() +23 bytesDenis Vlasenko
2008-03-29mdev: fix a bug where it was not stopping on first matching ruleDenis Vlasenko
(testsuite entry added). Revamped line parsing while at it. function old new delta next_field - 36 +36 make_device 1104 1022 -82 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/1 up/down: 36/-82) Total: -46 bytes