1 echo Tests for cmd's builtin commands
4 echo ------------ Testing 'echo' --------------
6 echo 'singlequotedword'
7 echo "doublequotedword"
15 echo ------------ Testing 'set' --------------
16 echo set "FOO=bar" should not include the quotes in the variable value
20 echo ------------ Testing variable expansion --------------
21 echo ~dp0 should be directory containing batch file
37 echo %ERRORLEVEL%%ERRORLEVEL%
38 echo %ERRORLEVEL%ERRORLEVEL%
45 echo ------------ Testing if/else --------------
46 echo if/else should work with blocks
50 echo if seems to be broken
53 echo else seems to be broken
55 echo else seems to work
57 echo Testing case sensitivity with and without /i option
58 if bar==BAR echo if does not default to case sensitivity
59 if not bar==BAR echo if seems to default to case sensitivity
60 if /i foo==FOO echo if /i seems to work
61 if /i not foo==FOO echo if /i seems to be broken
62 if /I foo==FOO echo if /I seems to work
63 if /I not foo==FOO echo if /I seems to be broken
65 echo -----------Testing GOTO-----------
68 echo goto with no leading space worked
71 echo goto with a leading space worked
74 echo goto with a leading tab worked