projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7d6bb3
)
patch: add a test we currently fail
author
Denys Vlasenko
<vda.linux@googlemail.com>
Tue, 16 Aug 2011 20:57:12 +0000
(22:57 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Tue, 16 Aug 2011 20:57:12 +0000
(22:57 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
testsuite/patch.tests
patch
|
blob
|
history
diff --git
a/testsuite/patch.tests
b/testsuite/patch.tests
index c604b9c1d88468e8842e390765377811eab7b939..7cd716ce510fbb8a93ea5bbafab704bdc18bb479 100755
(executable)
--- 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