makefiles: Rename the SRCDIR, TOPSRCDIR and TOPOBJDIR variables to follow autoconf...
[wine] / programs / cmd / tests / test_builtins.cmd.exp
1
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 "/?"
10
11 .
12 word
13 .word
14 ------------ Testing 'set' --------------
15 set "FOO=bar" should not include the quotes in the variable value
16 bar
17 ------------ Testing variable expansion --------------
18 ~dp0 should be directory containing batch file
19 @pwd@\
20 @pwd@\
21 CD value @pwd@@or_broken@CD value
22 %
23 P
24 P
25 S
26 P
27 PS
28 ERRORLEVEL
29 0
30 00
31 0ERRORLEVEL
32 0
33 0%
34 P0
35 0S
36 P0S
37 ------------ Testing if/else --------------
38 if/else should work with blocks
39 if seems to work
40 else seems to work
41 Testing case sensitivity with and without /i option
42 if seems to default to case sensitivity
43 if /i seems to work
44 if /I seems to work
45 -----------Testing GOTO-----------
46 goto with no leading space worked
47 goto with a leading space worked
48 goto with a leading tab worked