1 echo Tests for cmd's builtin commands
4 echo ------------ Testing 'echo' [ON] --------------
6 echo 'singlequotedword'
7 echo "doublequotedword"
15 echo word@space@@space@
18 echo ------------ Testing 'echo' [OFF] --------------
20 echo 'singlequotedword'
21 echo "doublequotedword"
29 echo word@space@@space@
31 echo ------------ Testing 'set' --------------
32 echo set "FOO=bar" should not include the quotes in the variable value
36 echo ------------ Testing variable expansion --------------
37 echo ~dp0 should be directory containing batch file
53 echo %ERRORLEVEL%%ERRORLEVEL%
54 echo %ERRORLEVEL%ERRORLEVEL%
61 echo ------------ Testing if/else --------------
62 echo if/else should work with blocks
66 echo if seems to be broken
69 echo else seems to be broken
71 echo else seems to work
73 echo Testing case sensitivity with and without /i option
74 if bar==BAR echo if does not default to case sensitivity
75 if not bar==BAR echo if seems to default to case sensitivity
76 if /i foo==FOO echo if /i seems to work
77 if /i not foo==FOO echo if /i seems to be broken
78 if /I foo==FOO echo if /I seems to work
79 if /I not foo==FOO echo if /I seems to be broken
81 echo -----------Testing GOTO-----------
84 echo goto with no leading space worked
87 echo goto with a leading space worked
90 echo goto with a leading tab worked
93 echo goto with a following space worked