Frédéric Delanoy : cmd/tests: Test special handling of ':' in echo.
Alexandre Julliard
julliard at winehq.org
Thu Jul 28 13:55:46 CDT 2011
Module: wine
Branch: master
Commit: dcd544f744733cf446ef8fc602ebdff6de572e2b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=dcd544f744733cf446ef8fc602ebdff6de572e2b
Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date: Thu Jul 28 01:06:46 2011 +0200
cmd/tests: Test special handling of ':' in echo.
---
programs/cmd/tests/test_builtins.cmd | 8 ++++++++
programs/cmd/tests/test_builtins.cmd.exp | 16 ++++++++++++++++
2 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/programs/cmd/tests/test_builtins.cmd b/programs/cmd/tests/test_builtins.cmd
index 1b3bbcb..c9d1d53 100644
--- a/programs/cmd/tests/test_builtins.cmd
+++ b/programs/cmd/tests/test_builtins.cmd
@@ -11,6 +11,10 @@ echo.
echo .
echo.word
echo .word
+echo:
+echo :
+echo:word
+echo :word
echo word at space@
echo word at space@@space@
@@ -25,6 +29,10 @@ echo.
echo .
echo.word
echo .word
+echo:
+echo :
+echo:word
+echo :word
echo word at space@
echo word at space@@space@
diff --git a/programs/cmd/tests/test_builtins.cmd.exp b/programs/cmd/tests/test_builtins.cmd.exp
index d06c4cf..7db3b86 100644
--- a/programs/cmd/tests/test_builtins.cmd.exp
+++ b/programs/cmd/tests/test_builtins.cmd.exp
@@ -30,6 +30,18 @@ word
@pwd@>echo .word at space@
.word
+ at todo_wine@@pwd@>echo:
+ at todo_wine@
+
+ at pwd@>echo :@space@
+:
+
+ at todo_wine@@pwd@>echo:word
+ at todo_wine@word
+
+ at pwd@>echo :word at space@
+:word
+
@pwd@>echo word at space@@space@
word at space@
@@ -45,6 +57,10 @@ at-echoed-word
.
word
.word
+ at todo_wine@
+:
+ at todo_wine@word
+:word
word at space@
word at space@@space@
------------ Testing redirection operators --------------
More information about the wine-cvs
mailing list