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@
42 @pwd@
>echo
:word@space@
54 @pwd@
>echo
/word@space@
57 @pwd@
>echo
off now@space@
60 @pwd@
>echo word@space@@space@
63 @pwd@
>echo word@space@@space@@space@
66 @pwd@
>echo word@space@
69 @pwd@
>echo@tab@word@space@
72 @pwd@
>echo@tab@word@space@@tab@@space@
75 @pwd@
>echo@tab@word@tab@@space@@space@
78 @pwd@
>echo word@space@
81 @pwd@
>echo@space@@tab@word@space@
84 @pwd@
>echo@space@@space@@tab@word@space@
87 @pwd@
>echo@tab@@tab@word@space@
90 @pwd@
>echo @tab@
on @space@@space@
91 --- @ with chains and brackets
93 @todo_wine@@pwd@
>(echo the @ character chains until
&& ) && echo and can
hide brackets ||
() ||@space@
94 @todo_wine@the @ character chains until
95 @todo_wine@we leave the current depth
96 @todo_wine@and can
hide brackets
101 ------------ Testing
'echo' [OFF] ------------
130 ------------ Testing mixed echo modes
------------
138 @todo_wine@@pwd@
>if 1 == 1 echo foo@space@
141 @todo_wine@@pwd@
>if 1 == 1@space@
145 ------------ Testing parameterization
------------
153 'a[b]{c}(d)e', '', ''
159 ------------ Testing
rem ------------
161 @pwd@
>rem Hello@space@
163 @pwd@
>rem Hello@space@
165 @pwd@
>rem Hello || foo@space@
167 @pwd@
>rem echo lol@space@
169 @pwd@
>rem echo foo
& echo bar@space@
171 @pwd@
>rem @tab@ Hello@space@
173 @pwd@
>rem@tab@ Hello@space@
175 @pwd@
>rem@tab@echo foo
& echo bar@space@
176 ------------ Testing redirection operators
------------
177 --- stdout redirection
183 foo7@space@@or_broken@foo@tab@
184 foo9@space@@or_broken@foo@tab@
205 @todo_wine@foo7@space@@space@@or_broken@not supported@space@
206 @todo_wine@foo@or_broken@not supported
207 --- redirections within
IF statements
212 file does not exist
, ok
225 ------------ Testing circumflex escape character
------------
251 ------------ Testing
'set' ------------
254 WINE_FOOBAR not defined
264 WINE_FOOBAR not defined
271 set "WINE_FOO=bar" should not include the quotes in the variable value
284 ------------ Testing
variable expansion
------------
285 ~p0 should be path containing batch file
288 ~dp0 should be directory containing batch file
291 CD value @pwd@@or_broken@CD value@space@
307 ------------ Testing
variable substrings
------------
315 ''@or_broken@
'qwerty'
317 ------------ Testing
variable substitution
------------
325 @drive@@path@C D@or_broken@
%~ff
326 @drive@@path@E@or_broken@
%~ff
329 @path@@or_broken@
%~pd
330 @path@@or_broken@
%~pd
336 @todo_wine@
'@drive@@shortpath@R S'@or_broken@
''
337 @todo_wine@
'@drive@@shortpath@T'@or_broken@
''
338 @todo_wine@
'@drive@@shortpath@ABCDEFGHIJK.LMNOP'@or_broken@
''
341 '--a------'@or_broken@
'--a--------'@or_broken@
'%~ai'
372 @todo_wine@
'@drive@@shortpath@R S'@or_broken@
''
373 @todo_wine@
'@drive@@shortpath@T'@or_broken@
''
374 @todo_wine@
'@drive@@shortpath@ABCDEFGHIJK.LMNOP'@or_broken@
''
383 ------------ Testing
variable delayed expansion
------------
384 --- default
mode (load-time expansion
)
389 --- runtime
(delayed
) expansion
mode
391 foo@or_broken@
!WINE_FOO
!
398 --- using
/V cmd flag
400 foo@or_broken@
!WINE_FOO
!
403 ------------ Testing conditional execution
------------
404 --- unconditional ampersand
409 --- on success conditional and
410 @todo_wine@foo3 not created
413 --- on failure conditional or
416 @todo_wine@
------------ Testing cd
------------
418 Current
dir: @drive@@path@foobar@or_broken@Current
dir:@space@
427 @drive@@path@foobar
\bar bak
428 @drive@@path@foobar
\bar bak
429 @drive@@path@foobar
\bar bak
430 @drive@@path@foobar
\bar bak
431 @drive@@path@foobar
\bar bak
434 ------------ Testing type
------------
436 @pwd@
>type foobaz@space@
439 @pwd@
>echo
---@space@
447 ------------ Testing NUL
------------
453 Passed
: file size check
on a.a
[7]@or_broken@Skipping file size check
on NT4
454 Passed
: file size check
on b.b
[8]@or_broken@Skipping file size check
on NT4
455 Passed
: file size check
on a.a
[7]@or_broken@Skipping file size check
on NT4
456 Passed
: file size check
on b.b
[8]@or_broken@Skipping file size check
on NT4
457 Passed
: file size check
on a.a
[7]@or_broken@Skipping file size check
on NT4
458 Passed
: file size check
on subdir
\a.a
[8]@or_broken@Skipping file size check
on NT4
459 ------------ Testing
if/else ------------
460 --- if/else should work with blocks
463 if seems not to detect
/c as parameter
464 else if seems to work
465 else if seems to work
466 else if seems to work
467 --- case sensitivity with and without
/i option
468 if seems to default to case sensitivity
471 --- string comparisons
484 --- comparison operators
486 LSS string can be used as operand
for LSS comparison
487 floats are handled as strings
488 numbers in quotes are handled as strings
489 negative numbers as well@or_broken@NT4
490 if /i seems to work
for LSS
501 b LSS B@or_broken@NT4
502 a LSS B@or_broken@NT4
521 b LEQ B@or_broken@NT4
523 a LEQ B@or_broken@NT4
579 negative numbers handled
580 negative numbers handled
582 also in negative form
584 also in negative form
608 string
/hexa compare ok
609 string
/hexa compare ok
638 ------ for numbers and stringified numbers
639 strings and integers not equal
640 strings and integers not equal
643 '1' GEQ
1@or_broken@NT4
648 non NT4@or_broken@
1 GEQ
'1'
655 --- unconditional ampersand after
if one line
668 ------------ Testing
for ------------
727 Plain directory enumeration
728 Plain directory enumeration from provided root
730 File enumeration from provided root
732 Mixed enumeration from provided root
733 With duplicates enumeration
734 Strip missing wildcards
, keep unwildcarded names
736 --- Complex wildcards unix and windows slash
737 Windows slashes
, valid path
738 ASIS
: foobar
\baz
\bazbaz
739 WC
: foobar
\baz
\bazbaz
740 Windows slashes
, invalid path
741 ASIS
: foobar\jim
\bazbaz
742 Unix slashes
, valid path
743 ASIS
: foobar
/baz
/bazbaz
745 Unix slashes
, invalid path
746 ASIS
: foobar
/jim
/bazbaz
781 ------ individual operations
783 WINE_foo correctly
-1
786 WINE_foo correctly
10
789 WINE_foo correctly
-4
793 WINE_foo correctly
-2
796 WINE_foo correctly
0@or_broken@ERROR
: WINE_foo incorrectly
1073741824 [0]
797 WINE_foo correctly
0@or_broken@ERROR
: WINE_foo incorrectly
-1073741824 [0]
798 WINE_foo correctly
-4
802 WINE_foo correctly
-1
803 WINE_foo correctly
-3
819 ------ precedence and grouping
820 WINE_foo correctly
10
821 WINE_foo correctly
18@or_broken@ERROR
: WINE_foo incorrectly
[18]
822 WINE_foo correctly
2@or_broken@ERROR
: WINE_foo incorrectly
0 [2]
823 WINE_foo correctly
2@or_broken@ERROR
: WINE_foo incorrectly
[2]
824 WINE_foo correctly
0@or_broken@ERROR
: WINE_foo incorrectly
4 [0]
825 WINE_foo correctly
4@or_broken@ERROR
: WINE_foo incorrectly
[4]
826 WINE_foo correctly
3@or_broken@ERROR
: WINE_foo incorrectly
[3]
827 WINE_foo correctly
3@or_broken@ERROR
: WINE_foo incorrectly
[3]
828 ------ octal and hexadecimal
829 WINE_foo correctly
18
830 WINE_foo correctly
18
831 WINE_foo correctly
15
834 WINE_foo correctly
3@or_broken@ERROR
: WINE_foo incorrectly
0 [3]
835 WINE_bar correctly
3@or_broken@ERROR
: WINE_bar incorrectly
[3]
836 WINE_foo correctly
3@or_broken@ERROR
: WINE_foo incorrectly
0 [3]
837 WINE_bar correctly
4@or_broken@ERROR
: WINE_bar incorrectly
[4]
838 WINE_foo correctly
3@or_broken@ERROR
: WINE_foo incorrectly
0 [3]
839 WINE_bar correctly
3@or_broken@ERROR
: WINE_bar incorrectly
[3]
840 WINE_baz correctly
4@or_broken@ERROR
: WINE_baz incorrectly
[4]
841 WINE_foo correctly
9@or_broken@ERROR
: WINE_foo incorrectly
3 [9]
842 WINE_bar correctly
9@or_broken@ERROR
: WINE_bar incorrectly
3 [9]
846 WINE_foo correctly
-7@or_broken@ERROR
: WINE_foo incorrectly
4 [-7]
847 WINE_bar correctly
-7@or_broken@ERROR
: WINE_bar incorrectly
4 [-7]
848 WINE_foo correctly
-1@or_broken@ERROR
: WINE_foo incorrectly
-7 [-1]
849 WINE_bar correctly
-1@or_broken@ERROR
: WINE_bar incorrectly
-7 [-1]
850 WINE_foo correctly
5@or_broken@ERROR
: WINE_foo incorrectly
0 [5]
851 WINE_bar correctly
1@or_broken@ERROR
: WINE_bar incorrectly
[1]
852 WINE_foo correctly
4@or_broken@ERROR
: WINE_foo incorrectly
1 [4]
853 WINE_bar correctly
4@or_broken@ERROR
: WINE_bar incorrectly
1 [4]
854 WINE_foo correctly
1@or_broken@ERROR
: WINE_foo incorrectly
4 [1]
855 WINE_bar correctly
1@or_broken@ERROR
: WINE_bar incorrectly
4 [1]
856 WINE_foo correctly
0@or_broken@ERROR
: WINE_foo incorrectly
1 [0]
857 WINE_bar correctly
0@or_broken@ERROR
: WINE_bar incorrectly
1 [0]
858 WINE_foo correctly
5@or_broken@ERROR
: WINE_foo incorrectly
0 [5]
859 WINE_bar correctly
7@or_broken@ERROR
: WINE_bar incorrectly
[7]
860 WINE_foo correctly
5@or_broken@ERROR
: WINE_foo incorrectly
0 [5]
861 WINE_bar correctly
7@or_broken@ERROR
: WINE_bar incorrectly
[7]
862 WINE_foo correctly
19@or_broken@ERROR
: WINE_foo incorrectly
0 [19]
863 WINE_bar correctly
3@or_broken@ERROR
: WINE_bar incorrectly
[3]
895 WINE_foo correctly
18
897 WINE_bar correctly
7@or_broken@ERROR
: WINE_bar incorrectly
4 [7]
898 --- whitespace are ignored between double char operators
899 WINE_foo correctly
10@or_broken@ERROR
: WINE_foo incorrectly
4 [10]
900 WINE_bar correctly
50@or_broken@ERROR
: WINE_bar incorrectly
5 [50]
901 WINE_foo correctly
772@or_broken@ERROR
: WINE_foo incorrectly
4 [772]
902 WINE_bar correctly
7720@or_broken@ERROR
: WINE_bar incorrectly
5 [7720]
903 --- invalid operator sequence
906 ----- negative prefix
907 WINE_foo correctly
-1
908 WINE_foo correctly
1@or_broken@ERROR
: WINE_foo incorrectly
[1]
913 WINE_foo correctly
0@or_broken@ERROR
: WINE_foo incorrectly
[0]
915 WINE_foo correctly
3@or_broken@ERROR
: WINE_foo incorrectly
-5 [3]
916 ----- assignment tests involving the end destination
917 WINE_foo correctly
11@or_broken@ERROR
: WINE_foo incorrectly
3 [11]
918 WINE_foo correctly
6@or_broken@ERROR
: WINE_foo incorrectly
2 [6]
919 WINE_bar correctly
9@or_broken@ERROR
: WINE_bar incorrectly
[9]
920 WINE_foo correctly
6@or_broken@ERROR
: WINE_foo incorrectly
2 [6]
921 WINE_bar correctly
10@or_broken@ERROR
: WINE_bar incorrectly
[10]
922 WINE_baz correctly
7@or_broken@ERROR
: WINE_baz incorrectly
[7]
923 WINE_foo correctly
7@or_broken@ERROR
: WINE_foo incorrectly
2 [7]
924 WINE_bar correctly
7@or_broken@ERROR
: WINE_bar incorrectly
2 [7]
925 ----- equal precedence
on stack
926 WINE_foo correctly
1@or_broken@ERROR
: WINE_foo incorrectly
0 [1]
928 WINE_foo correctly
1@or_broken@ERROR
: WINE_foo incorrectly
[1]
929 WINE_foo correctly
0@or_broken@ERROR
: WINE_foo incorrectly
[0]
930 WINE_foo correctly
1@or_broken@ERROR
: WINE_foo incorrectly
[1]
931 WINE_foo correctly
-1@or_broken@ERROR
: WINE_foo incorrectly
[-1]
932 WINE_foo correctly
-1@or_broken@ERROR
: WINE_foo incorrectly
[-1]
933 WINE_foo correctly
1@or_broken@ERROR
: WINE_foo incorrectly
[1]
934 WINE_foo correctly
0@or_broken@ERROR
: WINE_foo incorrectly
[0]
935 WINE_foo correctly
-1
936 WINE_foo correctly
0@or_broken@ERROR
: WINE_foo incorrectly
-1 [0]
938 WINE_foo correctly
1@or_broken@ERROR
: WINE_foo incorrectly
0 [1]
939 WINE_foo correctly
-1@or_broken@ERROR
: WINE_foo incorrectly
0 [-1]
940 WINE_foo correctly
25@or_broken@ERROR
: WINE_foo incorrectly
20 [25]
941 WINE_foo correctly
20
945 WINE_foo correctly
8@or_broken@ERROR
: WINE_foo incorrectly
4 [8]
946 WINE_foo correctly
6@or_broken@ERROR
: WINE_foo incorrectly
5 [6]
947 WINE_bar correctly
6@or_broken@ERROR
: WINE_bar incorrectly
5 [6]
949 ------ string
argument
951 a@or_broken@no output
953 a@or_broken@no output
955 a@or_broken@no output
957 a@or_broken@no output
959 a@or_broken@no output
960 ------ fileset argument
961 --------- basic
blank handling
968 --------- multi
-line with empty lines
972 --------- multiple files
983 ------ command
argument
984 Passed1@or_broken@Missing functionality
- Broken1
985 Passed2@or_broken@Missing functionality
- Broken2
986 Passed3@or_broken@Missing functionality
- Broken3
988 and@or_broken@Broken NT4 functionality1
989 Line@or_broken@Broken NT4 functionality2
990 Line@or_broken@Broken NT4 functionality3
1011 ------ tokens
= option
1012 h
=%h i
=a j
=%j k
=%k l
=%l m
=%m o
=%o
1013 h
=%h i
=b j
=%j k
=%k l
=%l m
=%m o
=%o
1014 h
=%h i
=a j
=c k
=e l
=f m
=g o
=%o
1015 h
=%h i
=a j
=e k
=f g l
=%l m
=%m o
=%o
1016 h
=%h i
=f j
=i k
=j k l m n o p q r s t u v w x y z l
=%l m
=%m o
=%o
1017 h
=%h i
=f j
=i k
=j k l m n
;;== o p q r s t u v w x y z l
=%l m
=%m o
=%o
1018 h
=%h i
=a j
=b k
=c l
=d e f g m
=%m n
=%n o
=%o
1019 h
=%h i
=a j
=b k
=c l
=d e f g m
=%m n
=%n o
=%o
1020 h
=%h i
=a j
=b k
= l
= m
=%m n
=%n o
=%o
1021 h
=%h i
=a j
=e k
=y l
=z A B C D E F G H I J K L M N O P Q R S T U V W X Y Z m
=%m n
=%n o
=%o
1022 h
=%h i
=a j
=b k
= l
= m
= n
=%n o
=%o
1023 h
=%h i
=a j
=b k
= l
= m
= n
= o
=%o
1024 u
=a v
=b w
=c x
=d y
=e z
=f A
=%A a
=%a
1025 @todo_wine@U
=a V
=b W
=c X
=d Y
=e Z
=f A
=%A a
=m
1026 h
=%h i
=a j
=b k
=c l
=e m
=%m o
=%o@or_broken@h
=%h i
=a j
=b k
=c l
=e m
= o
=%o
1027 h
=%h i
=e j
=%j k
=%k l
=%l m
=%m o
=%o
1028 h
=%h i
=a j
=b k
=c l
=d e f g m
=%m n
=%n o
=%o@or_broken@h
=%h i
=a j
=b k
=c l
=d e f g m
= n
=%n o
=%o
1029 h
=%h i
=a j
=c k
= l
= m
=%m n
=%n o
=%o@or_broken@h
=%h i
=a j
=c k
= l
= m
= n
=%n o
=%o
1030 h
=%h i
=b j
=c k
= l
= m
=%m n
=%n o
=%o@or_broken@h
=%h i
=b j
=c k
= l
= m
= n
=%n o
=%o
1031 h
=%h i
=b j
=c k
= l
= m
=%m n
=%n o
=%o@or_broken@h
=%h i
=b j
=c k
= l
= m
= n
=%n o
=%o
1032 ------------ Testing del
------------
1034 errorlevel is
0, good
1035 successfully deleted
'file'
1036 attempting to
delete 'file', even though it is not present
1037 errorlevel is
0, good
1038 ------------ Testing del
/a
------------
1039 not
-r.test not found after
delete, good
1040 r.test found before
delete, good
1041 r.test not found after
delete, good
1042 ------------ Testing del
/q
------------
1043 del
/q
* succeeded
on file1
1044 del
/q
* succeeded
on file2.dat
1045 ------------ Testing del
/s
------------
1046 ------------ Testing
rename ------------
1047 --- ren and
rename are synonymous
1053 --- rename read
-only files
1054 read
-only file renamed
1055 --- rename directories
1057 read
-only
dir renamed
1058 --- rename in other directory
1059 rename impossible in other directory
1060 original file still present
1061 ------------ Testing
move ------------
1064 @todo_wine@file
move with overwrite succeeded@or_broken@file overwrite impossible
!
1065 @todo_wine@bar@or_broken@baz
1066 read
-only files are moveable
1067 file moved in subdirectory
1068 @todo_wine@moving a file to itself is a no
-op@or_broken@moving a file to itself should be a no
-op
!
1069 @todo_wine@ErrorLevel
: 0@or_broken@ErrorLevel
: 1
1071 simple directory
move succeeded
1072 moving a directory to itself gives error
; errlevel
1
1073 ------ dir in
dir move
1077 ------------ Testing
mkdir ------------
1078 --- md and
mkdir are synonymous
1081 --- creating an already existing directory
/file must fail
1084 --- multilevel path creation
1093 --- trailing backslashes
1098 mkdir ? gives errorlevel
1
1099 mkdir ?
\foo gives errorlevel
1
1100 mkdir foo
\? gives errorlevel
1
1102 mkdir foo
\bar
\? gives errorlevel
1
1104 --- multiple directories at once
1111 mkdir foo\
* errorlevel
1
1113 ------------ Testing
rmdir ------------
1122 non
-empty
dir not removed
1124 non
-empty
dir not removed
1125 recursive rmdir succeeded
1126 recursive rmdir succeeded
1131 ------------ Testing pushd
/popd
------------
1133 --- popd is no
-op when
dir stack is empty
1135 --- pushing non
-existing
dir
1140 @drive@@path@foobar
\baz
1146 ------------ Testing attrib
------------
1147 A @drive@@path@foobar
\foo@or_broken@A @drive@@path@foobar
\foo@or_broken@A I @drive@@path@foobar
\foo
1148 --- read
-only attribute
1149 A R @drive@@path@foobar
\foo@or_broken@A R @drive@@path@foobar
\foo@or_broken@A R I @drive@@path@foobar
\foo
1151 foo original contents
1152 Read
-only file not deleted
1153 Read
-only file forcibly deleted
1154 --- recursive behaviour
1155 A @drive@@path@foobar
\baz\level2@or_broken@A @drive@@path@foobar
\baz\level2@or_broken@A I @drive@@path@foobar
\baz\level2
1156 A R @drive@@path@foobar\level1@or_broken@A R @drive@@path@foobar\level1@or_broken@A R I @drive@@path@foobar\level1
1157 A R @drive@@path@foobar
\baz\level2@or_broken@A R @drive@@path@foobar
\baz\level2@or_broken@A R I @drive@@path@foobar
\baz\level2
1158 A @drive@@path@foobar
\bar@or_broken@A @drive@@path@foobar
\bar@or_broken@A I @drive@@path@foobar
\bar
1159 --- folders processing
1160 @drive@@path@foobar@or_broken@ @drive@@path@foobar@or_broken@ I @drive@@path@foobar
1161 @todo_wine@ R @drive@@path@foobar
\baz@or_broken@ R @drive@@path@foobar
\baz@or_broken@ @drive@@path@foobar
\baz@or_broken@ R I @drive@@path@foobar
\baz
1162 A @drive@@path@foobar
\baz
\toto@or_broken@A @drive@@path@foobar
\baz
\toto@or_broken@A I @drive@@path@foobar
\baz
\toto
1165 file created in read
-only
dir
1166 ------------ Testing assoc
------------
1167 --- setting association
1173 --- resetting association
1177 ------------ Testing ftype
------------
1178 --- setting association
1185 --- resetting association
1186 @todo_wine@original value@or_broken@buggyXP@or_broken@
!WINE_FOO
!
1187 ------------ Testing
CALL ------------
1197 --- internal routines
1208 Should expand foobaz
1219 ------------ Testing SHIFT
------------
1220 'p1' 'p2' 'p3' 'p4' 'p5'
1221 'p2' 'p3' 'p4' 'p5' ''
1222 'p3' 'p4' 'p5' '' ''
1226 ------------ Testing cmd invocation
------------
1227 --- a batch file can
delete itself
1228 file correctly deleted
1229 --- a batch file can alter itself
1231 ---------- Testing copy
1232 Passed
: Found expected dummy.file
1233 Passed
: Found expected dir1
\file
1
1234 Passed
: Found expected dir1
\file
1
1235 Passed
: Found expected dir1
\file
99
1236 Passed
: Found expected file1
1237 Passed
: Did not find dir2
1238 Passed
: Did not find dir2
\file
1
1239 Passed
: Found expected dir1
\file
1
1240 Passed
: Found expected dir1
\file
2
1241 Passed
: Found expected dir1
\file
3
1242 Passed
: Found expected dir1
\file
1
1243 Passed
: Found expected dir1
\file
2
1244 Passed
: Found expected dir1
\file
3
1245 Passed
: Found expected file1
1246 Passed
: Found expected file2
1247 Passed
: Found expected file3
1248 Passed
: Did not find dir2
1249 Passed
: Did not find dir2
\file
1
1250 Passed
: Did not find dir2
\file
2
1251 Passed
: Did not find dir2
\file
3
1252 Passed
: Found expected testfile
1253 Passed
: Found expected testfile
1254 Passed
: Found expected testfile
1255 Passed
: Found expected testfile
1256 Passed
: Found expected testfile
1257 Passed
: Found expected dir1
\fred
1258 Passed
: Found expected dir1
\fred
1259 Passed
: Found expected fred
1260 Passed
: Found expected fred
1261 Passed
: file size check
on file1
[5]@or_broken@Skipping file size check
on NT4
1262 Passed
: file size check
on file2
[8]@or_broken@Skipping file size check
on NT4
1263 Passed
: file size check
on file3
[11]@or_broken@Skipping file size check
on NT4
1264 Passed
: file size check
on file1_default
[5]@or_broken@Skipping file size check
on NT4
1265 Passed
: file size check
on file1_default2
[5]@or_broken@Skipping file size check
on NT4
1266 Passed
: file size check
on file1_plus_eof
[6]@or_broken@Skipping file size check
on NT4
1267 Passed
: file size check
on file2_plus_eof
[9]@or_broken@Skipping file size check
on NT4
1268 Passed
: file size check
on file3_plus_eof
[12]@or_broken@Skipping file size check
on NT4
1269 Passed
: file size check
on file12_plus_eof
[14]@or_broken@Skipping file size check
on NT4
1270 Passed
: file size check
on file12_no_eof
[13]@or_broken@Skipping file size check
on NT4
1271 Passed
: file size check
on file12_eof2
[14]@or_broken@Skipping file size check
on NT4
1272 Passed
: file size check
on file1_binary_srccopy
[6]@or_broken@Skipping file size check
on NT4
1273 Passed
: file size check
on file1_ascii_srccopy
[5]@or_broken@Skipping file size check
on NT4
1274 Passed
: file size check
on file123_default_copy
[25]@or_broken@Skipping file size check
on NT4
1275 Passed
: file size check
on file123_ascii_copy
[25]@or_broken@Skipping file size check
on NT4
1276 Passed
: file size check
on file123_binary_copy
[27]@or_broken@Skipping file size check
on NT4
1277 Passed
: file size check
on file123_mixed_copy1
[26]@or_broken@Skipping file size check
on NT4
1278 Passed
: file size check
on file123_mixed_copy2
[27]@or_broken@Skipping file size check
on NT4
1279 Passed
: file size check
on file123_mixed_copy3
[26]@or_broken@Skipping file size check
on NT4
1280 Passed
: file size check
on file123_mixed_copy4
[25]@or_broken@Skipping file size check
on NT4
1281 Passed
: file size check
on file123_mixed_copy5
[28]@or_broken@Skipping file size check
on NT4
1282 Passed
: file size check
on file123_mixed_copy6
[19]@or_broken@Skipping file size check
on NT4
1283 Passed
: file size check
on file123_mixed_copy7
[6]@or_broken@Skipping file size check
on NT4
1284 Passed
: file size check
on file123_mixed_copy8
[7]@or_broken@Skipping file size check
on NT4
1285 Passed
: errorlevel invalid check
1
1286 Passed
: Did not find dir1
\file
1
1287 Passed
: errorlevel invalid check
2
1288 Passed
: errorlevel invalid check
3
1289 ------------ Testing setlocal
/endlocal
------------
1290 --- enable
/disable extensions
1291 @todo_wine@ErrLev
:@space@
1294 @todo_wine@ErrLev
:@space@@or_broken@ErrLev
: 0
1296 --- setlocal with corresponding endlocal
1299 @drive@@path@foobar
\foobar
2
1304 --- setlocal with no corresponding endlocal
1307 @drive@@path@foobar
\foobar
2
1310 --- setlocal within same batch
program
1323 --- Mismatched
set and end locals
1324 --- Extra setlocal in called batch
1327 @drive@@path@foobar
\foodir
3
1330 @drive@@path@foobar
\foodir
2
1333 --- Extra endlocal in called batch
1336 @drive@@path@foobar
\foodir
2
1338 @drive@@path@foobar
\foodir
2
1341 @drive@@path@foobar
\foodir
2
1344 --- endlocal in called function rather than batch pgm is ineffective
1353 ------------ Testing Errorlevel
------------
1356 errorlevel just right
, good
1357 errorlevel with leading zero just right
, good
1358 errorlevel with negative number OK
1359 abc0def@or_broken@abc1def
1360 errorlevel zero
, good@or_broken@errorlevel nonzero
, bad
1363 ------------ Testing
GOTO ------------
1364 goto with no leading space worked
1365 goto with colon and no leading space worked
1366 goto with a leading space worked
1367 goto with a leading tab worked
1368 goto with a following space worked
1369 goto with following amphersands worked
1370 goto with redirections worked
1371 Ignoring double colons worked
1372 label with mixed whitespace and no echo worked
1373 Correctly ignored trailing information
1374 ------------ Testing PATH
------------
1378 ------------ Testing combined CALLs
/GOTOs
------------