Commit 41c0db3c authored by Trey Hunner's avatar Trey Hunner Committed by Alexandre Julliard

cmd: Add test for 'if' case sensitivity.

parent 38c66289
...@@ -36,3 +36,10 @@ if 1 == 0 ( ...@@ -36,3 +36,10 @@ if 1 == 0 (
) else ( ) else (
echo else seems to work echo else seems to work
) )
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
if /i foo==FOO echo if /i seems to work
if /i not foo==FOO echo if /i seems to be broken
if /I foo==FOO echo if /I seems to work
if /I not foo==FOO echo if /I seems to be broken
...@@ -20,3 +20,7 @@ bar ...@@ -20,3 +20,7 @@ bar
if/else should work with blocks if/else should work with blocks
if seems to work if seems to work
else seems to work else seems to work
Testing case sensitivity with and without /i option
if seems to default to case sensitivity
if /i seems to work
if /I seems to work
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment