cmd: Add test for 'if' case sensitivity.
This commit is contained in:
parent
38c6628911
commit
41c0db3ce9
|
@ -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
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue