cmd/tests: Add tests for redirections using non stdout/stderr handles.

This commit is contained in:
Frédéric Delanoy 2011-08-27 02:11:29 +02:00 committed by Alexandre Julliard
parent 003bdf8e69
commit 523683d788
2 changed files with 12 additions and 0 deletions

View File

@ -81,6 +81,10 @@ echo foo>foo
type foo
echo foo 1> foo
type foo
echo foo7 7> foo
type foo
echo foo9 9> foo
type foo
echo foo1> foo
type foo
echo foo11> foo
@ -103,6 +107,10 @@ type foo
del foo
echo food21>>foo
type foo
del foo
echo foo> foo
echo foo7 7>> foo || (echo not supported & del foo)
if exist foo (type foo) else echo not supported
cd .. & rd /s/q foobar
echo ------------ Testing ^^ escape character --------------

View File

@ -120,6 +120,8 @@ word
...stdout redirection
foo
foo@space@
foo7@space@@or_broken@foo@space@
foo9@space@@or_broken@foo@space@
@todo_wine@foo1
@todo_wine@foo11
@todo_wine@foo12
@ -137,6 +139,8 @@ fooc@space@
@todo_wine@food1
@todo_wine@food2
@todo_wine@food21
@todo_wine@foo7@space@@space@@or_broken@not supported@space@
@todo_wine@foo@or_broken@not supported
@todo_wine@------------ Testing ^ escape character --------------
@todo_wine@hello, world
@todo_wine@hello, world