cmd: Add test for 'if' case sensitivity.

This commit is contained in:
Trey Hunner 2010-02-18 21:39:32 -08:00 committed by Alexandre Julliard
parent 38c6628911
commit 41c0db3ce9
2 changed files with 11 additions and 0 deletions

View File

@ -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

View File

@ -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