summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-08-16 00:56:32 (GMT)
committer Denys Vlasenko <vda.linux@googlemail.com>2010-08-16 00:56:32 (GMT)
commit3f75d7bfd2c7fc28256f7ce21ee3d8acb7f6a2e1 (patch)
tree1e8ff8ab4336c3295e991cf9a36c1a710964acd4
parentc9b9750a0e2a85d3d045cc8d0217d4605f2d7989 (diff)
downloadbusybox-3f75d7bfd2c7fc28256f7ce21ee3d8acb7f6a2e1.tar.gz
busybox-3f75d7bfd2c7fc28256f7ce21ee3d8acb7f6a2e1.tar.bz2
patch: uncomment the test which we actually do pass now
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rwxr-xr-xtestsuite/patch.tests10
1 files changed, 6 insertions, 4 deletions
diff --git a/testsuite/patch.tests b/testsuite/patch.tests
index e663b32..f55b53f 100755
--- 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