diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-08-16 02:56:32 +0200 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-08-16 02:56:32 +0200 |
| commit | 3f75d7bfd2c7fc28256f7ce21ee3d8acb7f6a2e1 (patch) | |
| tree | 1e8ff8ab4336c3295e991cf9a36c1a710964acd4 | |
| parent | c9b9750a0e2a85d3d045cc8d0217d4605f2d7989 (diff) | |
| download | busybox-w32-3f75d7bfd2c7fc28256f7ce21ee3d8acb7f6a2e1.tar.gz busybox-w32-3f75d7bfd2c7fc28256f7ce21ee3d8acb7f6a2e1.tar.bz2 busybox-w32-3f75d7bfd2c7fc28256f7ce21ee3d8acb7f6a2e1.zip | |
patch: uncomment the test which we actually do pass now
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| -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 |
