diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-08-16 22:57:12 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-08-16 22:57:12 +0200 |
commit | 9176f6c52cb60f9de72a1c8e6b4dafc7c29ec1bf (patch) | |
tree | 9be770287ae6a284956145c85e28e979655425c1 | |
parent | a7d6bb3b5df1a0a2be2f48583ffc01b1f62d73af (diff) | |
download | busybox-w32-9176f6c52cb60f9de72a1c8e6b4dafc7c29ec1bf.tar.gz busybox-w32-9176f6c52cb60f9de72a1c8e6b4dafc7c29ec1bf.tar.bz2 busybox-w32-9176f6c52cb60f9de72a1c8e6b4dafc7c29ec1bf.zip |
patch: add a test we currently fail
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rwxr-xr-x | testsuite/patch.tests | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/patch.tests b/testsuite/patch.tests index c604b9c1d..7cd716ce5 100755 --- a/testsuite/patch.tests +++ b/testsuite/patch.tests | |||
@@ -212,6 +212,21 @@ patching file input | |||
212 | 666 | 212 | 666 |
213 | " \ | 213 | " \ |
214 | 214 | ||
215 | # Currently fails | ||
216 | # testing "test name" "command(s)" "expected result" "file input" "stdin" | ||
217 | testing "patch creates new file" \ | ||
218 | 'patch 2>&1; echo $?; cat testfile; rm testfile' \ | ||
219 | "\ | ||
220 | creating testfile | ||
221 | 0 | ||
222 | qwerty | ||
223 | " "" "\ | ||
224 | --- /dev/null | ||
225 | +++ testfile | ||
226 | @@ -0,0 +1 @@ | ||
227 | +qwerty | ||
228 | " | ||
229 | |||
215 | rm input.orig 2>/dev/null | 230 | rm input.orig 2>/dev/null |
216 | 231 | ||
217 | exit $FAILCOUNT | 232 | exit $FAILCOUNT |