From: Haidong Yu yuhaidong@uniontech.com
Signed-off-by: Haidong Yu yuhaidong@uniontech.com --- programs/cmd/tests/test_cmdline.cmd | 7 +++++-- programs/cmd/tests/test_cmdline.cmd.exp | 2 ++ 2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/programs/cmd/tests/test_cmdline.cmd b/programs/cmd/tests/test_cmdline.cmd index 8712f05f87d..4b8c76325b7 100644 --- a/programs/cmd/tests/test_cmdline.cmd +++ b/programs/cmd/tests/test_cmdline.cmd @@ -239,7 +239,10 @@ echo @echo ` > "say`.bat" call say' echo @echo ~ > "say~.bat" call say~ - +echo @echo start.bat > start.bat +start.bat +echo @echo for.bat > for.bat +for.bat echo --------- Testing parameter passing -------------- echo @echo 1:%%1,2:%%2 > tell.bat call tell 1 @@ -278,7 +281,7 @@ call tell(1234) call tell(12(34) call tell(12;34) echo --------- Finished -------------- -del tell.bat say*.* bazbaz*.bat +del tell.bat say*.* bazbaz*.bat start.bat for.bat exit :setError exit /B %1 diff --git a/programs/cmd/tests/test_cmdline.cmd.exp b/programs/cmd/tests/test_cmdline.cmd.exp index 946e353fcf3..786982552d0 100644 --- a/programs/cmd/tests/test_cmdline.cmd.exp +++ b/programs/cmd/tests/test_cmdline.cmd.exp @@ -121,6 +121,8 @@ bar@space@ 0@space@ '@space@ ~@space@ +start.bat@space@ +for.bat@space@ --------- Testing parameter passing -------------- 1:1,2:@space@ 1:(1),2:@space@