aboutsummaryrefslogtreecommitdiff
path: root/testsuite/patch.tests
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-11-21 05:53:34 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-11-21 05:53:34 +0100
commitb82ae98ea4d5216d20a5deedab2aa6153562337b (patch)
tree20e89268f222d4e463f65706d2f9a2bce61b9d4c /testsuite/patch.tests
parentf718e3a0dbe47ed7ed0398fe4461d33c8f69c669 (diff)
downloadbusybox-b82ae98ea4d5216d20a5deedab2aa6153562337b.tar.gz
patch: busyboxify by migrating from toybox to busybox helpers
function old new delta get_line 90 128 +38 bbconfig_config_bz2 4959 4965 +6 makedevs_main 1038 1035 -3 fail_hunk 133 130 -3 finish_oldfile 174 124 -50 patch_main 2066 1987 -79 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/4 up/down: 44/-135) Total: -91 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite/patch.tests')
-rwxr-xr-xtestsuite/patch.tests4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/patch.tests b/testsuite/patch.tests
index e482304f6..ba37e8218 100755
--- a/testsuite/patch.tests
+++ b/testsuite/patch.tests
@@ -75,7 +75,7 @@ zxc
testing "patch detects already applied hunk" \
'patch 2>&1; echo $?; cat input' \
"\
-Possibly reversed hunk 1 at 2
+Possibly reversed hunk 1 at 4
Hunk 1 FAILED 1/1.
abc
+def
@@ -103,7 +103,7 @@ def
testing "patch detects already applied hunk at the EOF" \
'patch 2>&1; echo $?; cat input' \
"\
-Possibly reversed hunk 1 at 3
+Possibly reversed hunk 1 at 4
Hunk 1 FAILED 1/1.
abc
123