summaryrefslogtreecommitdiff
path: root/testsuite (follow)
Commit message (Collapse)AuthorAgeFilesLines
* grep: option to use GNU regex matching instead of POSIX one.Denis Vlasenko2008-08-091-6/+2
| | | | | | This fixes problems with NULs in files being scanned, but costs +800 bytes. The same can be done to sed (TODO).
* xargs: fix -e default to match newer GNU xargs, add SUS mandated -E.Denis Vlasenko2008-08-041-2/+12
| | | | | closes bug 4414
* fix some testsuite false positivesDenis Vlasenko2008-08-043-6/+12
|
* xargs: fix xargs -e; added test for thatDenis Vlasenko2008-08-031-0/+19
|
* makedevs: shrink (by Vladimir); testsuiteDenis Vlasenko2008-08-012-0/+311
| | | | | | function old new delta makedevs_main 1153 1071 -82
* fix several problems with config parser:Denis Vlasenko2008-07-261-12/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* mdev: do not complain if mdev.conf does not exist;Denis Vlasenko2008-07-261-1/+0
| | | | | | use #if to prevent gcc from generating dead code (sadly, it's more ugly this way)
* libbb/parse_config.c: fix small buglet (by Vladimir)Denis Vlasenko2008-07-201-1/+42
|
* tar: fix handling of tarballs with symlinks with size field != 0Denis Vlasenko2008-07-201-0/+27
|
* libbb: updated config_parse() from VladimirDenis Vlasenko2008-07-191-0/+64
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* test: fix parser to prefer binop over unop, as coreutils does.Denis Vlasenko2008-07-191-7/+50
| | | | | | | | | | | | | | | 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
* printf: do not print garbage on "%Ld". closes bug 4214.Denis Vlasenko2008-07-181-0/+5
| | | | | | | | | | 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
* printf: fix %b, fix several bugs in %*.*, fix compat issues withDenis Vlasenko2008-07-181-9/+79
| | | | | | | | | | | | | | | | | | | 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
* printf: protect against bogus format specifiers. Hopefully closes bug 4184Denis Vlasenko2008-07-171-0/+6
|
* comm: almost total rewrite; add testsuiteDenis Vlasenko2008-07-152-2/+20
| | | | | | | | | 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
* cpio: testsuite for http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466771Denis Vlasenko2008-07-111-25/+41
| | | | | which was fixed in proevious commit
* testsuite: uniformly use $ECHO with -n -eDenis Vlasenko2008-07-119-690/+691
|
* mount: testsuite for "-o mand"Denis Vlasenko2008-07-081-0/+34
|
* ssd: do not stat -x EXECUTABLE, it is not needed anymoreDenis Vlasenko2008-07-011-0/+19
| | | | | | | | | ssd: use PATH ssd: fix -a without -x case ssd: fix help text ssd: CLOSE_EXTRA_FDS in MMU case too ssd: add testsuite
* awk: fix a case with multiple -f options. simplify -f file reading.Denis Vlasenko2008-07-012-0/+7
| | | | | | | | | | | | | | | | | | 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
* bunzip2: fix an uncompression error. Add the example to testsuite.Denis Vlasenko2008-06-261-8/+448
|
* grep: make "-f -" work (+ testsuite)Denis Vlasenko2008-06-071-0/+4
| | | | | | | | | | | 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
* added testsuite for printf by Cristian Ionescu-IdbohrnDenis Vlasenko2008-06-051-0/+27
|
* testsuite instrumentation fixes by ChristianDenis Vlasenko2008-05-152-19/+16
|
* cpio.tests: remove useless commandDenis Vlasenko2008-05-061-1/+0
|
* uniq: support -w. closes bug 3094.Denis Vlasenko2008-05-031-0/+17
| | | | | | | function old new delta packed_usage 24136 24132 -4 uniq_main 399 384 -15
* more fixes to testsuite by Cristian and vdaDenis Vlasenko2008-05-022-20/+43
|
* clarify grep versionDenis Vlasenko2008-05-021-1/+1
|
* mdev: fix a bug where we were eating argv[0] of helperDenis Vlasenko2008-05-021-0/+16
|
* fix grep test false positiveDenis Vlasenko2008-05-021-1/+3
|
* testing.sh: bashisms are eradicated.Denis Vlasenko2008-05-021-2/+3
| | | | | By Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn AT axis.com>
* runtest: the saga continues :(Denis Vlasenko2008-05-021-26/+11
|
* echo: fix echo -e -n "msg\n\0"Denis Vlasenko2008-04-301-0/+1
| | | | | (by "Pinedo, David" <david.pinedo AT hp.com>)
* runtest: more cleanupsDenis Vlasenko2008-04-291-12/+22
|
* tar: add testsuite entriesDenis Vlasenko2008-04-291-0/+259
|
* date: better version of previous commit; + fix testsuiteDenis Vlasenko2008-04-281-17/+18
| | | | | to have it checked
* cp: fix "cp -RL" to create regular files even if src is a symlinkDenis Vlasenko2008-04-271-0/+6
|
* date: fix date-works test, add date-works-1 one (currently fails)Denis Vlasenko2008-04-272-10/+138
|
* runtest: fix fallout from mucking with runtest :( [vda's fault]Denis Vlasenko2008-04-271-2/+2
|
* runtest: even more fixes from CristianDenis Vlasenko2008-04-271-13/+15
|
* runtest: further fixes from Cristian Ionescu-Idbohrn ↵Denis Vlasenko2008-04-271-10/+14
| | | | <cristian.ionescu-idbohrn AT axis.com>
* runtest: use numeric compare instead of string where appropriateDenis Vlasenko2008-04-261-5/+5
|
* testsuite/runtest: remove (last) bashismDenis Vlasenko2008-04-251-7/+10
| | | | | mkswap: fix selinux build
* date: make it accept ISO date format. Fix help text.Denis Vlasenko2008-04-251-1/+44
| | | | | | | | make testsuite actually test something useful. function old new delta date_main 1094 1149 +55
* partially fix date testsuiteDenis Vlasenko2008-04-244-5/+5
|
* testsuite: fix du testsuite to not use changing directoriesDenis Vlasenko2008-04-236-6/+6
|
* testsuite: runtest enhancements by Cristian Ionescu-IdbohrnDenis Vlasenko2008-04-231-6/+15
|
* testsuite: fixDenis Vlasenko2008-04-231-1/+1
|
* od: fix testsuiteDenis Vlasenko2008-04-141-2/+2
|
* od: fix "od -b"Denis Vlasenko2008-04-141-0/+17
|