cmd/tests: Add tests for && on success conditional execution.
This commit is contained in:
parent
8b1d8e9e82
commit
73413693d6
|
@ -106,6 +106,13 @@ if exist foobazbar (
|
|||
cd ..
|
||||
rd /s/q foobar
|
||||
) else echo foobar deleted
|
||||
echo ...on success conditional ^&^&
|
||||
call :setError 456 && echo foo3 > foo3
|
||||
if exist foo3 (
|
||||
echo foo3 created
|
||||
del foo3
|
||||
) else echo foo3 not created
|
||||
echo bar4 && echo foo4
|
||||
|
||||
echo ------------ Testing type ------------
|
||||
echo bar> foobaz
|
||||
|
|
|
@ -96,6 +96,10 @@ foo1
|
|||
bar2@space@
|
||||
foo2
|
||||
@todo_wine@foobar deleted
|
||||
@todo_wine@...on success conditional &&
|
||||
@todo_wine@foo3 not created
|
||||
bar4@space@
|
||||
foo4
|
||||
------------ Testing type ------------
|
||||
|
||||
@pwd@>type foobaz@space@
|
||||
|
|
Loading…
Reference in New Issue