André Hentschel : cmd/tests: Add test for parameter detection.

Alexandre Julliard julliard at winehq.org
Tue Jul 12 13:47:10 CDT 2011


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

Author: André Hentschel <nerv at dawncrow.de>
Date:   Mon Jul 11 23:07:03 2011 +0200

cmd/tests: Add test for parameter detection.

---

 programs/cmd/tests/test_builtins.cmd     |    5 +++++
 programs/cmd/tests/test_builtins.cmd.exp |    1 +
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/programs/cmd/tests/test_builtins.cmd b/programs/cmd/tests/test_builtins.cmd
index 347786d..3011e4d 100644
--- a/programs/cmd/tests/test_builtins.cmd
+++ b/programs/cmd/tests/test_builtins.cmd
@@ -70,6 +70,11 @@ if 1 == 0 (
 ) else (
   echo else seems to work
 )
+if /c==/c (
+  echo if seems not to detect /c as parameter
+) else (
+  echo parameter detection seems to be broken
+)
 echo Testing case sensitivity with and without /i option
 if bar==BAR echo if does not default to case sensitivity
 if not bar==BAR echo if seems to default to case sensitivity
diff --git a/programs/cmd/tests/test_builtins.cmd.exp b/programs/cmd/tests/test_builtins.cmd.exp
index 2e2bf84..229adc4 100644
--- a/programs/cmd/tests/test_builtins.cmd.exp
+++ b/programs/cmd/tests/test_builtins.cmd.exp
@@ -74,6 +74,7 @@ P0S
 if/else should work with blocks
 if seems to work
 else seems to work
+ at todo_wine@if seems not to detect /c as parameter
 Testing case sensitivity with and without /i option
 if seems to default to case sensitivity
 if /i seems to work




More information about the wine-cvs mailing list