projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9b9750
)
patch: uncomment the test which we actually do pass now
author
Denys Vlasenko
<vda.linux@googlemail.com>
Mon, 16 Aug 2010 00:56:32 +0000
(
02:56
+0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Mon, 16 Aug 2010 00:56:32 +0000
(
02:56
+0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
testsuite/patch.tests
patch
|
blob
|
history
diff --git
a/testsuite/patch.tests
b/testsuite/patch.tests
index e663b32a3c21a5a297a0beb023b06af2032cb97f..f55b53f6118133fbb7eb8dfe4541eff5b646c5b6 100755
(executable)
--- a/
testsuite/patch.tests
+++ b/
testsuite/patch.tests
@@
-100,13
+100,15
@@
def
123
" \
-# Currently fails (erroneously appends second "456" line):
-false && testing "patch detects already applied hunk" \
+testing "patch detects already applied hunk at the EOF" \
'patch 2>&1; echo $?; cat input' \
"\
+Possibly reversed hunk 1 at 3
+Hunk 1 FAILED 1/1.
+ abc
+ 123
++456
patching file input
-patch: hunk #1 FAILED at 2
-patch: 1 out of 1 hunk FAILED
1
abc
123