aboutsummaryrefslogtreecommitdiff
path: root/testsuite (follow)
Commit message (Collapse)AuthorAgeFilesLines
* sed: fix " echo /usr/lib | sed 's,\(^/\|\)[^/][^/]*,..,g' " bugDenys Vlasenko2009-08-171-0/+7
| | | | | | | function old new delta process_files 2102 2091 -11 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tail: fix "tail +N file_shorter_than_N"Denys Vlasenko2009-08-091-0/+17
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* correct mode of testsuite/rx.testsDenys Vlasenko2009-08-031-0/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* rx: strip padding from last block. closes bug 501.Denys Vlasenko2009-08-021-0/+27
| | | | | | | function old new delta rx_main 876 974 +98 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* grep: fix -E + {range}; fix -o not printing all matches (bug 489)Denys Vlasenko2009-07-291-0/+5
| | | | | | | | | two different bugs, one with EXTRA_COMPAT, other without. function old new delta grep_file 1132 1129 -3 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* silly whitespace fixDenys Vlasenko2009-07-181-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix mount test false positiveDenys Vlasenko2009-07-181-5/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* minor tweaks in testsuiteDenys Vlasenko2009-07-182-10/+13
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix mountpoint test to not prevemt mkfs_xxx from making image in any fileDenys Vlasenko2009-07-188-23/+43
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* add SKIP_KNOWN_BUGS and SKIP_INTERNET_TESTS to testsuiteDenys Vlasenko2009-07-189-2/+38
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix taskset testsuiteDenys Vlasenko2009-07-181-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* correct date testsuite to use compatible formatDenys Vlasenko2009-07-182-4/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* touch: implement -d --date (our own testsuite needs that)Denys Vlasenko2009-07-186-10/+15
| | | | | | | | | | | | | | | 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>
* date: factor out date parsing (in preparation for touch -d)Denys Vlasenko2009-07-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | 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>
* test: fix "test !" and "test abc -a !". closes bug 465Denys Vlasenko2009-07-171-0/+10
| | | | | | | function old new delta nexpr 826 840 +14 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sed: deal with peculiar behavior of '2d;2,1p' in GNU sedDenys Vlasenko2009-07-101-0/+5
| | | | | | | function old new delta process_files 2173 2120 -53 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ls: fix --color handling. Closes bug 435.Denys Vlasenko2009-07-024-10/+10
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mdev: set $MDEV correctly for renamed nodesDenys Vlasenko2009-07-021-2/+2
| | | | | | | | function old new delta make_device 1467 1502 +35 build_alias 78 - -78 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sed: fix handling of 1d;1,3p and 1d;1,REGEXpDenys Vlasenko2009-06-301-0/+13
| | | | | | | function old new delta process_files 2084 2173 +89 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mdev: fix the case when move rule deletes node with name == device_nameDenys Vlasenko2009-06-221-0/+26
| | | | | Signed-off-by: Jean Wolter <jw5@os.inf.tu-dresden.de> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* printf: fix exit code on conversion errorDenys Vlasenko2009-06-181-2/+1
| | | | | Signed-off-by: Colin Watson <cjwatson@ubuntu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* seq: fix testsuite failuresDenys Vlasenko2009-06-152-10/+14
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix or document testsuite failuresDenys Vlasenko2009-06-133-7/+11
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* test, tcpsvd, tcpsvd: shrinkDenys Vlasenko2009-06-131-1/+1
| | | | | | | | | | | | 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>
* fix permissions in testsuiteDenys Vlasenko2009-06-131-0/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* rename CONFIG_FEATURE_TAR_GZIPBernhard Reutner-Fischer2009-06-031-1/+1
| | | | | | | 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>
* cpio.tests: fix false positiveDenys Vlasenko2009-05-281-1/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: mass renaming of USE_XXXX to IF_XXXXDenis Vlasenko2009-04-211-1/+1
| | | | | | and SKIP_XXXX to IF_NOT_XXXX - the second one was especially badly named. It was not skipping anything!
* mdev: support $ENVVAR=regexDenis Vlasenko2009-04-191-0/+13
|
* mdev: set mode, needed when device node already exists.Denis Vlasenko2009-04-161-0/+12
|
* awk: fix long field separators case. By Ian Wienand (ianw AT vmware.com)Denis Vlasenko2009-04-121-0/+6
|
* awk: fix compat issue found by gpm buildDenis Vlasenko2009-03-151-0/+5
| | | | | | | | | 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
* tr: update testsuiteDenis Vlasenko2009-03-021-0/+9
|
* tr: support [:xdigit:], fix handling of ranges and [x]'s.Denis Vlasenko2009-03-011-0/+22
| | | | | | | | | | | | | 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
* awk: in BEGIN section $0 should be "", not "0".Denis Vlasenko2009-01-251-0/+7
|
* mdev: fix breakage caused by unified parser usageDenis Vlasenko2009-01-121-0/+16
|
* unexpand: fix incorrect expansion, add test for itDenis Vlasenko2008-12-261-0/+30
| | | | | | function old new delta expand_main 676 656 -20
* expand: fix incorrect expansion exactly on tab boundary; shrink the codeDenis Vlasenko2008-12-141-0/+15
| | | | | | | function old new delta expand_main 698 676 -22 xputchar 53 - -53
* - add seq -w support (Natanael Copa)Bernhard Reutner-Fischer2008-11-121-1/+6
|
* - update my name. No obj-code changes ;)Bernhard Reutner-Fischer2008-09-253-3/+3
|
* whitespace fixesDenis Vlasenko2008-09-251-4/+4
|
* watchdog: add -T optionDenis Vlasenko2008-09-071-1/+12
| | | | | | | | function old new delta watchdog_main 159 219 +60 mdev: support match by major,minor. See bug 4714. +100 bytes.
* awk: improve nadling of negative numbers in bitwise ops;Denis Vlasenko2008-09-021-0/+1
| | | | | | | | | | | | | | | 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
* build system: echo and test features may be enabledDenis Vlasenko2008-08-291-0/+5
| | | | | | even if these applets are enabled as ash builtins only testsuite: add some awk tests
* 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