Denis Vlasenko
7dff4333d6
runtest: fix fallout from mucking with runtest :( [vda's fault]
2008-04-27 20:48:49 +00:00
Denis Vlasenko
5d0f4aaa99
runtest: even more fixes from Cristian
2008-04-27 13:34:43 +00:00
Denis Vlasenko
92a6f878e9
runtest: further fixes from Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn AT axis.com>
2008-04-27 03:33:29 +00:00
Denis Vlasenko
64d5bfda1a
runtest: use numeric compare instead of string where appropriate
2008-04-26 10:14:25 +00:00
Denis Vlasenko
95842fbc16
testsuite/runtest: remove (last) bashism
...
mkswap: fix selinux build
2008-04-25 08:43:01 +00:00
Denis Vlasenko
4d89a8bd1d
date: make it accept ISO date format. Fix help text.
...
make testsuite actually test something useful.
function old new delta
date_main 1094 1149 +55
2008-04-25 02:14:07 +00:00
Denis Vlasenko
ad6cab1834
partially fix date testsuite
2008-04-24 19:37:11 +00:00
Denis Vlasenko
71e3ab327a
testsuite: fix du testsuite to not use changing directories
2008-04-23 07:02:02 +00:00
Denis Vlasenko
58dc274a7a
testsuite: runtest enhancements by Cristian Ionescu-Idbohrn
2008-04-23 06:45:11 +00:00
Denis Vlasenko
fa5b05ab07
testsuite: fix
2008-04-23 06:42:49 +00:00
Denis Vlasenko
3cfebe44c7
od: fix testsuite
2008-04-14 19:56:46 +00:00
Denis Vlasenko
7089c31d57
od: fix "od -b"
2008-04-14 19:50:06 +00:00
Denis Vlasenko
0a38bcf570
cpio: actually add testsuite entry...
2008-04-05 02:46:47 +00:00
Denis Vlasenko
a7f4e4bbd8
expr: fix comparisons 'a < b' where we were overflowing a-b
...
(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-04-02 20:24:09 +00:00
Denis Vlasenko
f2f3868e0d
mdev: optional support for regex pattern group substitution.
...
+142 bytes.
2008-03-29 17:26:10 +00:00
Denis Vlasenko
cae11b51aa
mdev: fix "foo 0:0 444 >bar/baz" rule handling. make_device() +23 bytes
2008-03-29 15:11:07 +00:00
Denis Vlasenko
4461564c77
mdev: fix a bug where it was not stopping on first matching rule
...
(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
2008-03-29 13:10:57 +00:00
Denis Vlasenko
b9ad75fa60
copy_file: handle "cp /dev/foo file" (almost) compatibly to coreutils.
...
(almost because we do not copy mode, which is probably wasn't intended).
+61 bytes.
2008-03-28 17:49:31 +00:00
Denis Vlasenko
cf26ab70c1
mdev: plug a few memory and fd leaks; simplify code a bit
2008-03-27 22:45:44 +00:00
Denis Vlasenko
e1caabbb75
mdev: add testsuite entry
2008-03-27 20:49:26 +00:00
Denis Vlasenko
08ec67bc62
patch: add support for -R. ~ +110 byte. By Pascal Bellard <pascal.bellard AT ads-lu.com>
...
fbsplash: new applet by Michele Sanges <michele.sanges AT otomelara.it
function old new delta
fbsplash_main - 1525 +1525
fb_drawfullrectangle - 118 +118
static.param_value - 100 +100
packed_usage 23776 23872 +96
applet_names 1843 1852 +9
applet_main 1120 1124 +4
read_line_input 3156 3158 +2
applet_nameofs 560 562 +2
applet_install_loc 140 141 +1
------------------------------------------------------------------------------
(add/remove: 3/0 grow/shrink: 6/0 up/down: 1857/0) Total: 1857 bytes
text data bss dec hex filename
799233 641 7380 807254 c5156 busybox_old
801202 641 7380 809223 c5907 busybox_unstripped
2008-03-26 13:32:30 +00:00
Denis Vlasenko
cc2965fd23
patch: fix vda's thinko: we need to open new_filename.orig, always!
...
plug memory leak; add testsuite
patch_main 1009 988 -21
2008-03-25 14:15:39 +00:00
Denis Vlasenko
cee01cfb2e
diff: add testsuite entry for it
2008-03-24 20:33:47 +00:00
Denis Vlasenko
69ca5a70fd
tail: fix fallout from tail -c optimization
2008-03-23 03:28:40 +00:00
Denis Vlasenko
45ecfc2f5c
taskset: fix false failure in testsuite
2008-03-22 17:46:16 +00:00
Denis Vlasenko
d02db89244
clean up TODO file. No real code changes.
2008-03-17 09:05:21 +00:00
Denis Vlasenko
f39c7c0c86
sed: n cmd must reset "we had successful subst" flag. closes bug 1214.
2008-02-28 17:59:01 +00:00
Mike Frysinger
25cd7fd702
add a test case for usage strings to catch people forgetting to add trailing escape in middle of usage
2008-02-15 01:42:28 +00:00
Denis Vlasenko
3b92eaac53
sort: -z outputs NUL terminated lines. Closes bug 1591.
2008-02-13 14:30:33 +00:00
Denis Vlasenko
1e2a7e4ed1
test: fix mishandling of 'test ! arg1 op arg2 more args'; add testsuite
2008-02-09 05:48:42 +00:00
Denis Vlasenko
7ab3699b58
mkfs.minix: add testsuite; disable code which makes images variable
2007-12-02 08:55:34 +00:00
Denis Vlasenko
e2532ab5f2
dd: fix a bug where we don't report write errors
...
testsuite: small cleanup
full_write_or_warn 38 40 +2
write_and_stats 66 67 +1
dd_main 1358 1335 -23
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/1 up/down: 3/-23) Total: -20 bytes
2007-12-02 01:44:42 +00:00
Denis Vlasenko
1796e2c495
dd: add testsuite entry for write errors
2007-12-02 01:43:18 +00:00
Denis Vlasenko
30297a5b83
fix vda's testsuite bogons, part 2
2007-11-26 07:23:27 +00:00
Denis Vlasenko
bd9a48bc9c
fix vda's testsuite bogons, part 1
2007-11-26 07:23:09 +00:00
Denis Vlasenko
4e1e720523
testsuite: add tests for cut and grep;
...
slight improvements to infrastructure
2007-11-26 05:38:20 +00:00
Denis Vlasenko
6446c2d4ab
which: fix testsuite failure
...
pidof: do not output empty line if nothing found
testsuite: disable false positive
2007-11-25 04:54:13 +00:00
Denis Vlasenko
8d0a734d91
tr: more of code shrink (getopt32-ification)
...
runtest: cleanup. Method of getting $applets was truly bizarre
function old new delta
tr_main 655 527 -128
2007-11-13 22:23:57 +00:00
Denis Vlasenko
40276648ab
sed: support GNU-like '\t' escape in substitutions
2007-11-13 16:48:10 +00:00
Denis Vlasenko
0beaff8c19
update Glenn McGrath's email address
2007-09-21 13:16:32 +00:00
Denis Vlasenko
3952f20c24
expand, unexpand: new applets from Tito <farmatito@tiscali.it>
2007-08-13 14:10:24 +00:00
Denis Vlasenko
8274e06677
sed: fix 'q' command handling ("Nguyen Thai Ngoc Duy" <pclouds@gmail.com>)
...
add testsuite entry for it. Fix applet order checker. Fix cmp yelling.
trylink: fix error file and map file generation
applets: fix applet order
2007-08-06 03:41:08 +00:00
Denis Vlasenko
de1c8b2e92
fix unpacker testsuite to match actual output
2007-07-18 18:47:13 +00:00
Denis Vlasenko
960eca66b5
awk: actually do "svn add" for testsuite
2007-07-18 18:33:18 +00:00
Denis Vlasenko
cd0df46d8c
remove bashisms from testsuite
2007-06-05 22:29:14 +00:00
Bernhard Reutner-Fischer
eceecea568
- fix bug where we did not reject invalid classes like '[[:alpha'
...
- debloat while at it:
text data bss dec hex filename
1554 0 19 1573 625 tr.o.oorig
1357 0 16 1373 55d tr.o
2007-03-30 14:43:27 +00:00
Denis Vlasenko
c86e052b81
fix accumulated whitespace and indentation damage
2007-03-20 11:30:28 +00:00
Denis Vlasenko
4b0bb9e0fd
sed: fix very obscure case of escaped newline in sed command
...
(needed for uclibc build, btw). Add testcase for it.
2007-03-16 23:36:58 +00:00
Denis Vlasenko
36b7e28fa0
missed end-of-line
2007-03-07 23:08:26 +00:00
Denis Vlasenko
ab9eef21a5
bunzip2/gunzip/uncompress/unlzma: merge into common code -
...
fix few corner cases, reduce size by 450 bytes. Update testsuite.
2007-03-07 22:02:23 +00:00