Commit 66db270d authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

cmd/tests: Use resynchronization points to better deal with two IF statements tests.

parent e849691f
......@@ -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@
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment