1 echo Tests
for cmd's builtin commands
4 echo ------------ Testing 'echo' --------------
6 echo 'singlequotedword
'
7 echo "doublequotedword"
13 echo ------------ Testing 'set' --------------
14 echo set "FOO=bar" should not include the quotes in the variable value
18 echo ------------ Testing variable expansion --------------
19 echo ~dp0 should be directory containing batch file
35 echo %ERRORLEVEL%%ERRORLEVEL%
36 echo %ERRORLEVEL%ERRORLEVEL%
43 echo ------------ Testing if/else --------------
44 echo if/else should work with blocks
48 echo if seems to be broken
51 echo else seems to be broken
53 echo else seems to work
55 echo Testing case sensitivity with and without /i option
56 if bar==BAR echo if does not default to case sensitivity
57 if not bar==BAR echo if seems to default to case sensitivity
58 if /i foo==FOO echo if /i seems to work
59 if /i not foo==FOO echo if /i seems to be broken
60 if /I foo==FOO echo if /I seems to work
61 if /I not foo==FOO echo if /I seems to be broken
63 echo -----------Testing GOTO-----------
66 echo goto with no leading space worked
69 echo goto with a leading space worked
72 echo goto with a leading tab worked