cmd/tests: Add test for parameter detection
André Hentschel
nerv at dawncrow.de
Mon Jul 11 15:05:07 CDT 2011
test for http://bugs.winehq.org/show_bug.cgi?id=27761
---
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 11f6f10..85b7613 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 to not 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 efc1795..6d4148f 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 to not detect /c as parameter
Testing case sensitivity with and without /i option
if seems to default to case sensitivity
if /i seems to work
--
Best Regards, André Hentschel
More information about the wine-patches
mailing list