diff options
author | Denys Vlasenko | 2010-11-28 01:41:40 +0100 |
---|---|---|
committer | Denys Vlasenko | 2010-11-28 01:41:40 +0100 |
commit | fe9403ad17d6cac5984fcb9b9e18ed755898afff (patch) | |
tree | 7e40d96c01f30b0259dad306fafc34e7ba28d565 /testsuite/patch.tests | |
parent | fa5e295600b7810b5246daab8fca69de1f9b78b7 (diff) | |
download | busybox-fe9403ad17d6cac5984fcb9b9e18ed755898afff.zip busybox-fe9403ad17d6cac5984fcb9b9e18ed755898afff.tar.gz |
add a test for patch which we currently fail
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite/patch.tests')
-rwxr-xr-x | testsuite/patch.tests | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/testsuite/patch.tests b/testsuite/patch.tests index ba37e82..c604b9c 100755 --- a/testsuite/patch.tests +++ b/testsuite/patch.tests @@ -175,6 +175,43 @@ abc 123 " \ +# testing "test name" "command(s)" "expected result" "file input" "stdin" +testing "patch at the beginning" \ + 'patch 2>&1; cat input' \ +"\ +patching file input +111changed +444 +555 +666 +777 +888 +999 +" \ +"\ +111 +222 +333 +444 +555 +666 +777 +888 +999 +" \ +"\ +--- input ++++ input +@@ -1,6 +1,4 @@ +-111 +-222 +-333 ++111changed + 444 + 555 + 666 +" \ + rm input.orig 2>/dev/null exit $FAILCOUNT |