Dan Kegel : cmd: Add test to show set "FOO=bar" should not include the quotes in the variable value.

Alexandre Julliard julliard at winehq.org
Wed Feb 17 10:12:03 CST 2010


Module: wine
Branch: master
Commit: 9d63b91405122c98a314bde38210c0b2d69263a5
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=9d63b91405122c98a314bde38210c0b2d69263a5

Author: Dan Kegel <dank at kegel.com>
Date:   Tue Feb 16 12:25:41 2010 -0800

cmd: Add test to show set "FOO=bar" should not include the quotes in the variable value.

---

 programs/cmd/tests/test_builtins.cmd     |    5 +++++
 programs/cmd/tests/test_builtins.cmd.out |    3 +++
 2 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/programs/cmd/tests/test_builtins.cmd b/programs/cmd/tests/test_builtins.cmd
index db15217..04a75ba 100644
--- a/programs/cmd/tests/test_builtins.cmd
+++ b/programs/cmd/tests/test_builtins.cmd
@@ -9,3 +9,8 @@ echo "doublequotedword"
 echo "/?"
 echo.
 echo .
+
+echo ------------ Testing 'set' --------------
+echo set "FOO=bar" should not include the quotes in the variable value
+set "FOO=bar"
+echo %FOO%
diff --git a/programs/cmd/tests/test_builtins.cmd.out b/programs/cmd/tests/test_builtins.cmd.out
index 3e7413b..8b5202e 100644
--- a/programs/cmd/tests/test_builtins.cmd.out
+++ b/programs/cmd/tests/test_builtins.cmd.out
@@ -9,3 +9,6 @@ at-echoed-word
 "/?"
 
 .
+------------ Testing 'set' --------------
+set "FOO=bar" should not include the quotes in the variable value
+bar




More information about the wine-cvs mailing list