Denys Vlasenko
5370bfb123
documentation and typo fixes. By Dan Fandrich (dan AT coneharvesters.com)
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-09-06 02:58:59 +02:00
Denys Vlasenko
f210cff601
sed: fix " echo /usr/lib | sed 's,\(^/\|\)[^/][^/]*,..,g' " bug
...
function old new delta
process_files 2102 2091 -11
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-08-17 01:35:04 +02:00
Denys Vlasenko
a43df64eec
tail: fix "tail +N file_shorter_than_N"
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-08-09 22:06:56 +02:00
Denys Vlasenko
eecbb547d2
correct mode of testsuite/rx.tests
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-08-03 10:36:58 +02:00
Denys Vlasenko
dc9495df03
rx: strip padding from last block. closes bug 501.
...
function old new delta
rx_main 876 974 +98
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-08-02 19:45:31 +02:00
Denys Vlasenko
09449630fb
grep: fix -E + {range}; fix -o not printing all matches (bug 489)
...
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>
2009-07-29 01:20:09 +02:00
Denys Vlasenko
e414896f38
silly whitespace fix
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-07-18 17:26:25 +02:00
Denys Vlasenko
c1fc3d3000
fix mount test false positive
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-07-18 17:22:03 +02:00
Denys Vlasenko
875f782b12
minor tweaks in testsuite
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-07-18 16:34:01 +02:00
Denys Vlasenko
6ae6426a74
fix mountpoint test to not prevemt mkfs_xxx from making image in any file
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-07-18 16:22:26 +02:00
Denys Vlasenko
b71ce023e9
add SKIP_KNOWN_BUGS and SKIP_INTERNET_TESTS to testsuite
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-07-18 15:19:41 +02:00
Denys Vlasenko
f8e6b6eccb
fix taskset testsuite
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-07-18 13:08:49 +02:00
Denys Vlasenko
941990f0c5
correct date testsuite to use compatible format
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-07-18 04:54:21 +02:00
Denys Vlasenko
7aca89a7a3
touch: implement -d --date (our own testsuite needs that)
...
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-18 03:41:29 +02:00
Denys Vlasenko
73b71f381d
date: factor out date parsing (in preparation for touch -d)
...
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-18 03:40:35 +02:00
Denys Vlasenko
d23f64eba7
test: fix "test !" and "test abc -a !". closes bug 465
...
function old new delta
nexpr 826 840 +14
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-07-17 00:59:26 +02:00
Denys Vlasenko
ae68f1133f
sed: deal with peculiar behavior of '2d;2,1p' in GNU sed
...
function old new delta
process_files 2173 2120 -53
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-07-10 11:55:20 +02:00
Denys Vlasenko
5508363fd0
ls: fix --color handling. Closes bug 435.
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-07-02 14:25:51 +02:00
Denys Vlasenko
90db359972
mdev: set $MDEV correctly for renamed nodes
...
function old new delta
make_device 1467 1502 +35
build_alias 78 - -78
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-07-02 13:07:11 +02:00
Denys Vlasenko
8bca3e20b9
sed: fix handling of 1d;1,3p and 1d;1,REGEXp
...
function old new delta
process_files 2084 2173 +89
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-06-30 19:19:37 +02:00
Denys Vlasenko
2f86ca1350
mdev: fix the case when move rule deletes node with name == device_name
...
Signed-off-by: Jean Wolter <jw5@os.inf.tu-dresden.de>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-06-22 01:31:12 +02:00
Denys Vlasenko
bf4aeed129
printf: fix exit code on conversion error
...
Signed-off-by: Colin Watson <cjwatson@ubuntu.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-06-18 22:22:04 +02:00
Denys Vlasenko
cd3dd42c28
seq: fix testsuite failures
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-06-15 09:16:27 +02:00
Denys Vlasenko
2441060beb
fix or document testsuite failures
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-06-13 23:41:57 +02:00
Denys Vlasenko
16635cc2e0
test, tcpsvd, tcpsvd: shrink
...
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-13 22:49:08 +02:00
Denys Vlasenko
a3dcee3e8a
fix permissions in testsuite
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-06-13 16:35:20 +02:00
Bernhard Reutner-Fischer
a43972cb0f
rename CONFIG_FEATURE_TAR_GZIP
...
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-06-03 20:35:26 +02:00
Denys Vlasenko
398c659970
cpio.tests: fix false positive
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-05-28 02:03:29 +02:00
Denis Vlasenko
5e34ff29bc
*: mass renaming of USE_XXXX to IF_XXXX
...
and SKIP_XXXX to IF_NOT_XXXX - the second one was especially
badly named. It was not skipping anything!
2009-04-21 11:09:40 +00:00
Denis Vlasenko
3798db58cf
mdev: support $ENVVAR=regex
2009-04-19 21:37:07 +00:00
Denis Vlasenko
3161b61199
mdev: set mode, needed when device node already exists.
2009-04-16 22:42:01 +00:00
Denis Vlasenko
67b5eeb933
awk: fix long field separators case. By Ian Wienand (ianw AT vmware.com)
2009-04-12 13:54:13 +00:00
Denis Vlasenko
7a6766428e
awk: fix compat issue found by gpm build
...
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-15 22:20:31 +00:00
Denis Vlasenko
37ad6b323d
tr: update testsuite
2009-03-02 12:07:15 +00:00
Denis Vlasenko
1bfcc8b08e
tr: support [:xdigit:], fix handling of ranges and [x]'s.
...
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-03-01 04:50:18 +00:00
Denis Vlasenko
41d5ebee17
awk: in BEGIN section $0 should be "", not "0".
2009-01-25 01:00:15 +00:00
Denis Vlasenko
319fe129a1
mdev: fix breakage caused by unified parser usage
2009-01-12 07:57:52 +00:00
Denis Vlasenko
e40e76f3cd
unexpand: fix incorrect expansion, add test for it
...
function old new delta
expand_main 676 656 -20
2008-12-26 14:56:03 +00:00
Denis Vlasenko
3139ea7f15
expand: fix incorrect expansion exactly on tab boundary; shrink the code
...
function old new delta
expand_main 698 676 -22
xputchar 53 - -53
2008-12-14 15:45:25 +00:00
Bernhard Reutner-Fischer
2598f761bb
- add seq -w support (Natanael Copa)
2008-11-12 12:59:56 +00:00
Bernhard Reutner-Fischer
6c4dadefb6
- update my name. No obj-code changes ;)
2008-09-25 12:13:34 +00:00
Denis Vlasenko
ea7c9b3366
whitespace fixes
2008-09-25 10:39:10 +00:00
Denis Vlasenko
8d89bed840
watchdog: add -T option
...
function old new delta
watchdog_main 159 219 +60
mdev: support match by major,minor. See bug 4714.
+100 bytes.
2008-09-07 23:22:08 +00:00
Denis Vlasenko
a2e1eea189
awk: improve nadling of negative numbers in bitwise ops;
...
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-09-02 09:00:23 +00:00
Denis Vlasenko
66496d75a7
build system: echo and test features may be enabled
...
even if these applets are enabled as ash builtins only
testsuite: add some awk tests
2008-08-29 08:37:07 +00:00
Denis Vlasenko
3fd15e197e
grep: option to use GNU regex matching instead of POSIX one.
...
This fixes problems with NULs in files being scanned, but
costs +800 bytes. The same can be done to sed (TODO).
2008-08-09 16:15:14 +00:00
Denis Vlasenko
82ad032e26
xargs: fix -e default to match newer GNU xargs, add SUS mandated -E.
...
closes bug 4414
2008-08-04 21:30:55 +00:00
Denis Vlasenko
5db861a9eb
fix some testsuite false positives
2008-08-04 14:40:58 +00:00
Denis Vlasenko
cc08ad26fe
xargs: fix xargs -e; added test for that
2008-08-03 19:12:25 +00:00
Denis Vlasenko
e1fa817995
makedevs: shrink (by Vladimir); testsuite
...
function old new delta
makedevs_main 1153 1071 -82
2008-08-01 02:15:05 +00:00