From: Eric Pouech <epouech(a)codeweavers.com> Signed-off-by: Eric Pouech <epouech(a)codeweavers.com> --- programs/cmd/tests/test_builtins.cmd | 6 ++++++ programs/cmd/tests/test_builtins.cmd.exp | 2 ++ 2 files changed, 8 insertions(+) diff --git a/programs/cmd/tests/test_builtins.cmd b/programs/cmd/tests/test_builtins.cmd index a57ca301b37..62f243b7e82 100644 --- a/programs/cmd/tests/test_builtins.cmd +++ b/programs/cmd/tests/test_builtins.cmd @@ -72,6 +72,7 @@ echo(a)tab@word(a)tab@@space@ echo @tab(a)word echo @tab(a)word echo(a)tab@@tab(a)word +echo(3 echo ------------ Testing mixed echo modes ------------ echo @echo on> mixedEchoModes.cmd @@ -1582,6 +1583,11 @@ echo echo outside of block without closing bracket>> blockclosing.cmd cmd.exe /Q /C blockclosing.cmd echo %ERRORLEVEL% nested :: +call :setError 666 +echo ^)> blockclosing.cmd +cmd.exe /Q /C blockclosing.cmd +echo %ERRORLEVEL% unmatched +:: del blockclosing.cmd echo --- case sensitivity with and without /i option if bar==BAR echo if does not default to case sensitivity diff --git a/programs/cmd/tests/test_builtins.cmd.exp b/programs/cmd/tests/test_builtins.cmd.exp index 4a1a462079d..ed4fedee250 100644 --- a/programs/cmd/tests/test_builtins.cmd.exp +++ b/programs/cmd/tests/test_builtins.cmd.exp @@ -127,6 +127,7 @@ word @tab(a)word @space@@tab(a)word @tab(a)word +(a)todo_wine@3 ------------ Testing mixed echo modes ------------ @echo on if 1==1 echo foo @@ -1029,6 +1030,7 @@ with closing bracket 255 two lines before both blocks 255 nested +(a)todo_wine@0 unmatched --- case sensitivity with and without /i option if seems to default to case sensitivity if /i seems to work -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/8865