Module: wine Branch: master Commit: 0decc777eb50d415ef64f212cb6cd5dd973d5414 URL: http://source.winehq.org/git/wine.git/?a=commit;h=0decc777eb50d415ef64f212cb...
Author: Frédéric Delanoy frederic.delanoy@gmail.com Date: Thu Aug 25 00:48:24 2011 +0200
cmd/tests: Test handling of strings starting with on/off using the ECHO builtin.
---
programs/cmd/tests/test_builtins.cmd | 2 ++ programs/cmd/tests/test_builtins.cmd.exp | 4 ++++ 2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/programs/cmd/tests/test_builtins.cmd b/programs/cmd/tests/test_builtins.cmd index 6cd8a48..1c53cd2 100644 --- a/programs/cmd/tests/test_builtins.cmd +++ b/programs/cmd/tests/test_builtins.cmd @@ -15,6 +15,7 @@ echo: echo : echo:word echo :word +echo off now echo word@space@ echo word@space@@space@ echo word @@ -41,6 +42,7 @@ echo: echo : echo:word echo :word +echo on again echo word@space@ echo word@space@@space@ echo word diff --git a/programs/cmd/tests/test_builtins.cmd.exp b/programs/cmd/tests/test_builtins.cmd.exp index e6bf421..c9c6521 100644 --- a/programs/cmd/tests/test_builtins.cmd.exp +++ b/programs/cmd/tests/test_builtins.cmd.exp @@ -42,6 +42,9 @@ word @pwd@>echo :word@space@ :word
+@pwd@>echo off now@space@ +off now + @pwd@>echo word@space@@space@ word@space@
@@ -85,6 +88,7 @@ word : word :word +on again word@space@ word@space@@space@ word