From: Denys Vlasenko Date: Tue, 16 Aug 2011 20:57:12 +0000 (+0200) Subject: patch: add a test we currently fail X-Git-Tag: 1_20_0~270 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9176f6c52cb60f9de72a1c8e6b4dafc7c29ec1bf;p=oweals%2Fbusybox.git patch: add a test we currently fail Signed-off-by: Denys Vlasenko --- 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 666 " \ +# Currently fails +# testing "test name" "command(s)" "expected result" "file input" "stdin" +testing "patch creates new file" \ + 'patch 2>&1; echo $?; cat testfile; rm testfile' \ +"\ +creating testfile +0 +qwerty +" "" "\ +--- /dev/null ++++ testfile +@@ -0,0 +1 @@ ++qwerty +" + rm input.orig 2>/dev/null exit $FAILCOUNT