mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 12:53:37 +00:00
cmd/tests: Use resynchronization points to better deal with two IF statements tests.
This commit is contained in:
parent
e849691fcc
commit
66db270d22
|
@ -136,10 +136,12 @@ if exist foo (type foo) else echo not supported
|
|||
echo --- redirections within IF statements
|
||||
if 1==1 echo foo1>bar
|
||||
type bar & del bar
|
||||
echo -----
|
||||
if 1==1 (echo foo2>bar) else echo baz2>bar
|
||||
type bar & del bar
|
||||
if 1==1 (echo foo3) else echo baz3>bar
|
||||
type bar || echo file does not exist, ok
|
||||
echo -----
|
||||
if 1==1 (echo foo4>bar) else echo baz4>bar
|
||||
type bar & del bar
|
||||
if 1==0 (echo foo5>bar) else echo baz5>bar
|
||||
|
|
|
@ -163,9 +163,11 @@ food21
|
|||
@todo_wine@foo@or_broken@not supported
|
||||
--- redirections within IF statements
|
||||
@todo_wine@foo1
|
||||
@todo_wine@foo2
|
||||
@todo_wine@foo3
|
||||
file does not exist, ok
|
||||
-----
|
||||
foo2
|
||||
foo3
|
||||
@todo_wine@file does not exist, ok
|
||||
@todo_wine@-----
|
||||
foo4
|
||||
baz5
|
||||
baz6@space@
|
||||
|
|
Loading…
Reference in a new issue