[7/7] cmd/tests: Test handling of strings starting with on/off using the ECHO builtin (resend) (try 3)
Frédéric Delanoy
frederic.delanoy at gmail.com
Wed Aug 24 17:48:24 CDT 2011
---
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 at space@
echo word at space@@space@
echo word
@@ -41,6 +42,7 @@ echo:
echo :
echo:word
echo :word
+echo on again
echo word at space@
echo word at 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 at space@
:word
+ at pwd@>echo off now at space@
+off now
+
@pwd@>echo word at space@@space@
word at space@
@@ -85,6 +88,7 @@ word
:
word
:word
+on again
word at space@
word at space@@space@
word
--
1.7.6
More information about the wine-patches
mailing list