Frédéric Delanoy : cmd/tests: Test handling of strings starting with on/off using the ECHO builtin.
Alexandre Julliard
julliard at winehq.org
Thu Aug 25 13:00:17 CDT 2011
Module: wine
Branch: master
Commit: 0decc777eb50d415ef64f212cb6cd5dd973d5414
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0decc777eb50d415ef64f212cb6cd5dd973d5414
Author: Frédéric Delanoy <frederic.delanoy at 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 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
More information about the wine-cvs
mailing list