diff options
-rwxr-xr-x | testsuite/patch.tests | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/testsuite/patch.tests b/testsuite/patch.tests index e663b32a3..f55b53f61 100755 --- a/testsuite/patch.tests +++ b/testsuite/patch.tests | |||
@@ -100,13 +100,15 @@ def | |||
100 | 123 | 100 | 123 |
101 | " \ | 101 | " \ |
102 | 102 | ||
103 | # Currently fails (erroneously appends second "456" line): | 103 | testing "patch detects already applied hunk at the EOF" \ |
104 | false && testing "patch detects already applied hunk" \ | ||
105 | 'patch 2>&1; echo $?; cat input' \ | 104 | 'patch 2>&1; echo $?; cat input' \ |
106 | "\ | 105 | "\ |
106 | Possibly reversed hunk 1 at 3 | ||
107 | Hunk 1 FAILED 1/1. | ||
108 | abc | ||
109 | 123 | ||
110 | +456 | ||
107 | patching file input | 111 | patching file input |
108 | patch: hunk #1 FAILED at 2 | ||
109 | patch: 1 out of 1 hunk FAILED | ||
110 | 1 | 112 | 1 |
111 | abc | 113 | abc |
112 | 123 | 114 | 123 |