From: Eric Pouech epouech@codeweavers.com
Signed-off-by: Eric Pouech epouech@codeweavers.com --- programs/cmd/tests/test_builtins.cmd | 6 ++++++ programs/cmd/tests/test_builtins.cmd.exp | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/programs/cmd/tests/test_builtins.cmd b/programs/cmd/tests/test_builtins.cmd index 945b68e25a9..e8a2cadd515 100644 --- a/programs/cmd/tests/test_builtins.cmd +++ b/programs/cmd/tests/test_builtins.cmd @@ -3911,6 +3911,12 @@ echo abc > 012345678901234 if exist 012345678901234 (echo Failure) else echo Success popd rmdir /s /q c:\abcdefghij +echo ---- Testing nasty bits ---- +echo erase /q foobar.bat > foobar.bat +echo echo shouldnot >> foobar.bat +call foobar.bat +if exist foobar.bat (echo stillthere & erase /q foobar.bat >NUL) + echo ------------ Testing combined CALLs/GOTOs ------------ echo @echo off>foo.cmd echo goto :eof>>foot.cmd diff --git a/programs/cmd/tests/test_builtins.cmd.exp b/programs/cmd/tests/test_builtins.cmd.exp index 03bcb674bdb..6195e8b7644 100644 --- a/programs/cmd/tests/test_builtins.cmd.exp +++ b/programs/cmd/tests/test_builtins.cmd.exp @@ -2009,7 +2009,8 @@ Normal+tab+garbage @todo_wine@21 Success @todo_wine@Success ------------- Testing combined CALLs/GOTOs ------------ +---- Testing nasty bits ---- +@todo_wine@------------ Testing combined CALLs/GOTOs ------------ world cheball barbare