2 @pwd@>echo Tests for cmd's builtin commands@space@
3 Tests for cmd's builtin commands
5 @pwd@>echo ------------ Testing 'echo' [ON] --------------@space@
6 ------------ Testing 'echo' [ON] --------------
11 @pwd@>echo 'singlequotedword'@space@
14 @pwd@>echo "doublequotedword"@space@
18 @pwd@>echo "/?"@space@
30 @pwd@>echo .word@space@
33 @pwd@>echo word@space@@space@
36 @pwd@>echo word@space@@space@@space@
38 ------------ Testing 'echo' [OFF] --------------
50 ------------ Testing 'set' --------------
51 set "FOO=bar" should not include the quotes in the variable value
53 ------------ Testing variable expansion --------------
54 ~dp0 should be directory containing batch file
57 CD value @pwd@@or_broken@CD value
73 ------------ Testing if/else --------------
74 if/else should work with blocks
77 Testing case sensitivity with and without /i option
78 if seems to default to case sensitivity
81 -----------Testing for -----------
97 -----------Testing del /a-----------
98 not-r.test not found after delete, good
99 r.test found before delete, good
100 r.test not found after delete, good
101 ------------ Testing del /q --------------
102 del /q * succeeded on file1
103 del /q * succeeded on file2.dat
104 ------------ Testing del /s --------------
105 ----------- Testing mkdir -----------
124 @todo_wine@ok, foo created
126 @todo_wine@ok, foo\bar created
127 -----------Testing Errorlevel-----------
129 errorlevel just right, good
130 abc0def@or_broken@abc1def
131 errorlevel zero, good@or_broken@errorlevel nonzero, bad
134 -----------Testing GOTO-----------
135 goto with no leading space worked
136 goto with a leading space worked
137 goto with a leading tab worked
138 goto with a following space worked
139 -----------Done, jumping to EOF-----------