Release 1.3.2.
[wine/gsoc-2012-control.git] / programs / cmd / tests / test_builtins.cmd.exp
blob306953b28f7f0f901d6790a5674484e1f141aab0
2 @pwd@>echo Tests for cmd's builtin commands@todo_space@
3 Tests for cmd's builtin commands
4 ------------ Testing 'echo' --------------
5 word
6 'singlequotedword'
7 "doublequotedword"
8 at-echoed-word
9 "/?"
12 ------------ Testing 'set' --------------
13 set "FOO=bar" should not include the quotes in the variable value
14 bar
15 ------------ Testing variable expansion --------------
16 ~dp0 should be directory containing batch file
17 @pwd@\
18 @pwd@\
19 CD value @pwd@@or_broken@CD value
26 ERRORLEVEL
29 0ERRORLEVEL
34 P0S
35 ------------ Testing if/else --------------
36 if/else should work with blocks
37 if seems to work
38 else seems to work
39 Testing case sensitivity with and without /i option
40 if seems to default to case sensitivity
41 if /i seems to work
42 if /I seems to work
43 -----------Testing GOTO-----------
44 goto with no leading space worked
45 goto with a leading space worked
46 goto with a leading tab worked