diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-03-26 13:32:30 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-03-26 13:32:30 +0000 |
commit | 08ec67bc62242503f77d9503fdbf820c9c12d856 (patch) | |
tree | 101a86c0fe86a07f786670ceca36bfcbdc2794ed /testsuite | |
parent | cc2965fd236a85e5cac4fffa1c34057997780385 (diff) | |
download | busybox-w32-08ec67bc62242503f77d9503fdbf820c9c12d856.tar.gz busybox-w32-08ec67bc62242503f77d9503fdbf820c9c12d856.tar.bz2 busybox-w32-08ec67bc62242503f77d9503fdbf820c9c12d856.zip |
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
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/patch.tests | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/testsuite/patch.tests b/testsuite/patch.tests index 8a957d3f7..cfe69b76a 100755 --- a/testsuite/patch.tests +++ b/testsuite/patch.tests | |||
@@ -26,7 +26,7 @@ zxc | |||
26 | " \ | 26 | " \ |
27 | 27 | ||
28 | testing "patch with nonexistent old_file" \ | 28 | testing "patch with nonexistent old_file" \ |
29 | "strace -o zzz patch; echo $?; cat input" \ | 29 | "patch; echo $?; cat input" \ |
30 | "\ | 30 | "\ |
31 | patching file input | 31 | patching file input |
32 | 0 | 32 | 0 |
@@ -44,4 +44,22 @@ zxc | |||
44 | zxc | 44 | zxc |
45 | " \ | 45 | " \ |
46 | 46 | ||
47 | testing "patch -R with nonexistent old_file" \ | ||
48 | "patch -R; echo $?; cat input" \ | ||
49 | "\ | ||
50 | patching file input | ||
51 | 0 | ||
52 | qwe | ||
53 | zxc | ||
54 | " \ | ||
55 | "qwe\nasd\nzxc\n" \ | ||
56 | "\ | ||
57 | --- input.doesnt_exist Jan 01 01:01:01 2000 | ||
58 | +++ input Jan 01 01:01:01 2000 | ||
59 | @@ -1,2 +1,3 @@ | ||
60 | qwe | ||
61 | +asd | ||
62 | zxc | ||
63 | " \ | ||
64 | |||
47 | exit $FAILCOUNT | 65 | exit $FAILCOUNT |