cmd/tests: Add tests for redirections using non stdout/stderr handles.
This commit is contained in:
parent
003bdf8e69
commit
523683d788
|
@ -81,6 +81,10 @@ echo foo>foo
|
||||||
type foo
|
type foo
|
||||||
echo foo 1> foo
|
echo foo 1> foo
|
||||||
type foo
|
type foo
|
||||||
|
echo foo7 7> foo
|
||||||
|
type foo
|
||||||
|
echo foo9 9> foo
|
||||||
|
type foo
|
||||||
echo foo1> foo
|
echo foo1> foo
|
||||||
type foo
|
type foo
|
||||||
echo foo11> foo
|
echo foo11> foo
|
||||||
|
@ -103,6 +107,10 @@ type foo
|
||||||
del foo
|
del foo
|
||||||
echo food21>>foo
|
echo food21>>foo
|
||||||
type 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
|
cd .. & rd /s/q foobar
|
||||||
|
|
||||||
echo ------------ Testing ^^ escape character --------------
|
echo ------------ Testing ^^ escape character --------------
|
||||||
|
|
|
@ -120,6 +120,8 @@ word
|
||||||
...stdout redirection
|
...stdout redirection
|
||||||
foo
|
foo
|
||||||
foo@space@
|
foo@space@
|
||||||
|
foo7@space@@or_broken@foo@space@
|
||||||
|
foo9@space@@or_broken@foo@space@
|
||||||
@todo_wine@foo1
|
@todo_wine@foo1
|
||||||
@todo_wine@foo11
|
@todo_wine@foo11
|
||||||
@todo_wine@foo12
|
@todo_wine@foo12
|
||||||
|
@ -137,6 +139,8 @@ fooc@space@
|
||||||
@todo_wine@food1
|
@todo_wine@food1
|
||||||
@todo_wine@food2
|
@todo_wine@food2
|
||||||
@todo_wine@food21
|
@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@------------ Testing ^ escape character --------------
|
||||||
@todo_wine@hello, world
|
@todo_wine@hello, world
|
||||||
@todo_wine@hello, world
|
@todo_wine@hello, world
|
||||||
|
|
Loading…
Reference in New Issue