patch: make it able to create files (again)

I broke patch's ability to create files in November, and nobody noticed in
the ensuing 11 months.  Sigh.

Signed-off-by: Rob Landley <rob@landley.net>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Rob Landley
2011-08-22 04:58:32 +02:00
committed by Denys Vlasenko
parent 251fc70e97
commit c5f7847659
2 changed files with 3 additions and 6 deletions

View File

@@ -212,7 +212,6 @@ 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' \