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@
94 ------------ Testing 'echo' [OFF] ------------
123 ------------ Testing mixed echo modes ------------
131 @todo_wine@@pwd@>if 1 == 1 echo foo@space@
134 @todo_wine@@pwd@>if 1 == 1@space@
138 ------------ Testing parameterization ------------
146 'a[b]{c}(d)e', '', ''
152 ------------ Testing rem ------------
154 @pwd@>rem Hello@space@
156 @pwd@>rem Hello@space@
158 @pwd@>rem Hello || foo@space@
160 @pwd@>rem echo lol@space@
162 @pwd@>rem echo foo & echo bar@space@
164 @pwd@>rem @tab@ Hello@space@
166 @pwd@>rem@tab@ Hello@space@
168 @pwd@>rem@tab@echo foo & echo bar@space@
169 ------------ Testing redirection operators ------------
170 --- stdout redirection
176 foo7@space@@or_broken@foo@tab@
177 foo9@space@@or_broken@foo@tab@
198 @todo_wine@foo7@space@@space@@or_broken@not supported@space@
199 @todo_wine@foo@or_broken@not supported
200 --- redirections within IF statements
205 file does not exist, ok
218 ------------ Testing circumflex escape character ------------
244 ------------ Testing 'set' ------------
247 WINE_FOOBAR not defined
257 WINE_FOOBAR not defined
264 set "WINE_FOO=bar" should not include the quotes in the variable value
277 ------------ Testing variable expansion ------------
278 ~p0 should be path containing batch file
281 ~dp0 should be directory containing batch file
284 CD value @pwd@@or_broken@CD value@space@
300 ------------ Testing variable substrings ------------
308 ''@or_broken@'qwerty'
310 ------------ Testing variable substitution ------------
318 @drive@@path@C D@or_broken@%~ff
319 @drive@@path@E@or_broken@%~ff
322 @path@@or_broken@%~pd
323 @path@@or_broken@%~pd
329 @todo_wine@'@drive@@shortpath@R S'@or_broken@''
330 @todo_wine@'@drive@@shortpath@T'@or_broken@''
331 @todo_wine@'@drive@@shortpath@ABCDEFGHIJK.LMNOP'@or_broken@''
334 '--a------'@or_broken@'--a--------'@or_broken@'%~ai'
365 @todo_wine@'@drive@@shortpath@R S'@or_broken@''
366 @todo_wine@'@drive@@shortpath@T'@or_broken@''
367 @todo_wine@'@drive@@shortpath@ABCDEFGHIJK.LMNOP'@or_broken@''
376 ------------ Testing variable delayed expansion ------------
377 --- default mode (load-time expansion)
382 --- runtime (delayed) expansion mode
384 foo@or_broken@!WINE_FOO!
391 --- using /V cmd flag
393 foo@or_broken@!WINE_FOO!
396 ------------ Testing conditional execution ------------
397 --- unconditional ampersand
402 --- on success conditional and
403 @todo_wine@foo3 not created
406 --- on failure conditional or
409 @todo_wine@------------ Testing cd ------------
411 Current dir: @drive@@path@foobar@or_broken@Current dir:@space@
420 @drive@@path@foobar\bar bak
421 @drive@@path@foobar\bar bak
422 @drive@@path@foobar\bar bak
423 @drive@@path@foobar\bar bak
424 @drive@@path@foobar\bar bak
427 ------------ Testing type ------------
429 @pwd@>type foobaz@space@
432 @pwd@>echo ---@space@
440 ------------ Testing NUL ------------
446 Passed: file size check on a.a [7]@or_broken@Skipping file size check on NT4
447 Passed: file size check on b.b [8]@or_broken@Skipping file size check on NT4
448 Passed: file size check on a.a [7]@or_broken@Skipping file size check on NT4
449 Passed: file size check on b.b [8]@or_broken@Skipping file size check on NT4
450 Passed: file size check on a.a [7]@or_broken@Skipping file size check on NT4
451 Passed: file size check on subdir\a.a [8]@or_broken@Skipping file size check on NT4
452 ------------ Testing if/else ------------
453 --- if/else should work with blocks
456 if seems not to detect /c as parameter
457 else if seems to work
458 else if seems to work
459 else if seems to work
460 --- case sensitivity with and without /i option
461 if seems to default to case sensitivity
464 --- string comparisons
477 --- comparison operators
479 LSS string can be used as operand for LSS comparison
480 floats are handled as strings
481 numbers in quotes are handled as strings
482 negative numbers as well@or_broken@NT4
483 if /i seems to work for LSS
494 b LSS B@or_broken@NT4
495 a LSS B@or_broken@NT4
514 b LEQ B@or_broken@NT4
516 a LEQ B@or_broken@NT4
572 negative numbers handled
573 negative numbers handled
575 also in negative form
577 also in negative form
601 string/hexa compare ok
602 string/hexa compare ok
631 ------ for numbers and stringified numbers
632 strings and integers not equal
633 strings and integers not equal
636 '1' GEQ 1@or_broken@NT4
641 non NT4@or_broken@1 GEQ '1'
648 ------------ Testing for ------------
707 Plain directory enumeration
708 Plain directory enumeration from provided root
710 File enumeration from provided root
712 Mixed enumeration from provided root
713 With duplicates enumeration
714 Strip missing wildcards, keep unwildcarded names
716 --- Complex wildcards unix and windows slash
717 Windows slashes, valid path
718 ASIS: foobar\baz\bazbaz
719 WC : foobar\baz\bazbaz
720 Windows slashes, invalid path
721 ASIS: foobar\jim\bazbaz
722 Unix slashes, valid path
723 ASIS: foobar/baz/bazbaz
725 Unix slashes, invalid path
726 ASIS: foobar/jim/bazbaz
761 ------ individual operations
763 WINE_foo correctly -1
766 WINE_foo correctly 10
769 WINE_foo correctly -4
773 WINE_foo correctly -2
776 WINE_foo correctly 0@or_broken@ERROR: WINE_foo incorrectly 1073741824 [0]
777 WINE_foo correctly 0@or_broken@ERROR: WINE_foo incorrectly -1073741824 [0]
778 WINE_foo correctly -4
782 WINE_foo correctly -1
783 WINE_foo correctly -3
799 ------ precedence and grouping
800 WINE_foo correctly 10
801 WINE_foo correctly 18@or_broken@ERROR: WINE_foo incorrectly [18]
802 WINE_foo correctly 2@or_broken@ERROR: WINE_foo incorrectly 0 [2]
803 WINE_foo correctly 2@or_broken@ERROR: WINE_foo incorrectly [2]
804 WINE_foo correctly 0@or_broken@ERROR: WINE_foo incorrectly 4 [0]
805 WINE_foo correctly 4@or_broken@ERROR: WINE_foo incorrectly [4]
806 WINE_foo correctly 3@or_broken@ERROR: WINE_foo incorrectly [3]
807 WINE_foo correctly 3@or_broken@ERROR: WINE_foo incorrectly [3]
808 ------ octal and hexadecimal
809 WINE_foo correctly 18
810 WINE_foo correctly 18
811 WINE_foo correctly 15
814 WINE_foo correctly 3@or_broken@ERROR: WINE_foo incorrectly 0 [3]
815 WINE_bar correctly 3@or_broken@ERROR: WINE_bar incorrectly [3]
816 WINE_foo correctly 3@or_broken@ERROR: WINE_foo incorrectly 0 [3]
817 WINE_bar correctly 4@or_broken@ERROR: WINE_bar incorrectly [4]
818 WINE_foo correctly 3@or_broken@ERROR: WINE_foo incorrectly 0 [3]
819 WINE_bar correctly 3@or_broken@ERROR: WINE_bar incorrectly [3]
820 WINE_baz correctly 4@or_broken@ERROR: WINE_baz incorrectly [4]
821 WINE_foo correctly 9@or_broken@ERROR: WINE_foo incorrectly 3 [9]
822 WINE_bar correctly 9@or_broken@ERROR: WINE_bar incorrectly 3 [9]
826 WINE_foo correctly -7@or_broken@ERROR: WINE_foo incorrectly 4 [-7]
827 WINE_bar correctly -7@or_broken@ERROR: WINE_bar incorrectly 4 [-7]
828 WINE_foo correctly -1@or_broken@ERROR: WINE_foo incorrectly -7 [-1]
829 WINE_bar correctly -1@or_broken@ERROR: WINE_bar incorrectly -7 [-1]
830 WINE_foo correctly 5@or_broken@ERROR: WINE_foo incorrectly 0 [5]
831 WINE_bar correctly 1@or_broken@ERROR: WINE_bar incorrectly [1]
832 WINE_foo correctly 4@or_broken@ERROR: WINE_foo incorrectly 1 [4]
833 WINE_bar correctly 4@or_broken@ERROR: WINE_bar incorrectly 1 [4]
834 WINE_foo correctly 1@or_broken@ERROR: WINE_foo incorrectly 4 [1]
835 WINE_bar correctly 1@or_broken@ERROR: WINE_bar incorrectly 4 [1]
836 WINE_foo correctly 0@or_broken@ERROR: WINE_foo incorrectly 1 [0]
837 WINE_bar correctly 0@or_broken@ERROR: WINE_bar incorrectly 1 [0]
838 WINE_foo correctly 5@or_broken@ERROR: WINE_foo incorrectly 0 [5]
839 WINE_bar correctly 7@or_broken@ERROR: WINE_bar incorrectly [7]
840 WINE_foo correctly 5@or_broken@ERROR: WINE_foo incorrectly 0 [5]
841 WINE_bar correctly 7@or_broken@ERROR: WINE_bar incorrectly [7]
842 WINE_foo correctly 19@or_broken@ERROR: WINE_foo incorrectly 0 [19]
843 WINE_bar correctly 3@or_broken@ERROR: WINE_bar incorrectly [3]
875 WINE_foo correctly 18
877 WINE_bar correctly 7@or_broken@ERROR: WINE_bar incorrectly 4 [7]
878 --- whitespace are ignored between double char operators
879 WINE_foo correctly 10@or_broken@ERROR: WINE_foo incorrectly 4 [10]
880 WINE_bar correctly 50@or_broken@ERROR: WINE_bar incorrectly 5 [50]
881 WINE_foo correctly 772@or_broken@ERROR: WINE_foo incorrectly 4 [772]
882 WINE_bar correctly 7720@or_broken@ERROR: WINE_bar incorrectly 5 [7720]
883 --- invalid operator sequence
886 ----- negative prefix
887 WINE_foo correctly -1
888 WINE_foo correctly 1@or_broken@ERROR: WINE_foo incorrectly [1]
893 WINE_foo correctly 0@or_broken@ERROR: WINE_foo incorrectly [0]
895 WINE_foo correctly 3@or_broken@ERROR: WINE_foo incorrectly -5 [3]
896 ----- assignment tests involving the end destination
897 WINE_foo correctly 11@or_broken@ERROR: WINE_foo incorrectly 3 [11]
898 WINE_foo correctly 6@or_broken@ERROR: WINE_foo incorrectly 2 [6]
899 WINE_bar correctly 9@or_broken@ERROR: WINE_bar incorrectly [9]
900 WINE_foo correctly 6@or_broken@ERROR: WINE_foo incorrectly 2 [6]
901 WINE_bar correctly 10@or_broken@ERROR: WINE_bar incorrectly [10]
902 WINE_baz correctly 7@or_broken@ERROR: WINE_baz incorrectly [7]
903 WINE_foo correctly 7@or_broken@ERROR: WINE_foo incorrectly 2 [7]
904 WINE_bar correctly 7@or_broken@ERROR: WINE_bar incorrectly 2 [7]
905 ----- equal precedence on stack
906 WINE_foo correctly 1@or_broken@ERROR: WINE_foo incorrectly 0 [1]
908 WINE_foo correctly 1@or_broken@ERROR: WINE_foo incorrectly [1]
909 WINE_foo correctly 0@or_broken@ERROR: WINE_foo incorrectly [0]
910 WINE_foo correctly 1@or_broken@ERROR: WINE_foo incorrectly [1]
911 WINE_foo correctly -1@or_broken@ERROR: WINE_foo incorrectly [-1]
912 WINE_foo correctly -1@or_broken@ERROR: WINE_foo incorrectly [-1]
913 WINE_foo correctly 1@or_broken@ERROR: WINE_foo incorrectly [1]
914 WINE_foo correctly 0@or_broken@ERROR: WINE_foo incorrectly [0]
915 WINE_foo correctly -1
916 WINE_foo correctly 0@or_broken@ERROR: WINE_foo incorrectly -1 [0]
918 WINE_foo correctly 1@or_broken@ERROR: WINE_foo incorrectly 0 [1]
919 WINE_foo correctly -1@or_broken@ERROR: WINE_foo incorrectly 0 [-1]
920 WINE_foo correctly 25@or_broken@ERROR: WINE_foo incorrectly 20 [25]
921 WINE_foo correctly 20
925 WINE_foo correctly 8@or_broken@ERROR: WINE_foo incorrectly 4 [8]
926 WINE_foo correctly 6@or_broken@ERROR: WINE_foo incorrectly 5 [6]
927 WINE_bar correctly 6@or_broken@ERROR: WINE_bar incorrectly 5 [6]
929 ------ string argument
931 a@or_broken@no output
933 a@or_broken@no output
935 a@or_broken@no output
937 a@or_broken@no output
939 a@or_broken@no output
940 ------ fileset argument
941 --------- basic blank handling
948 --------- multi-line with empty lines
952 --------- multiple files
963 ------ command argument
964 Passed1@or_broken@Missing functionality - Broken1
965 Passed2@or_broken@Missing functionality - Broken2
966 Passed3@or_broken@Missing functionality - Broken3
968 and@or_broken@Broken NT4 functionality1
969 Line@or_broken@Broken NT4 functionality2
970 Line@or_broken@Broken NT4 functionality3
991 ------ tokens= option
992 h=%h i=a j=%j k=%k l=%l m=%m o=%o
993 h=%h i=b j=%j k=%k l=%l m=%m o=%o
994 h=%h i=a j=c k=e l=f m=g o=%o
995 h=%h i=a j=e k=f g l=%l m=%m o=%o
996 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
997 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
998 h=%h i=a j=b k=c l=d e f g m=%m n=%n o=%o
999 h=%h i=a j=b k=c l=d e f g m=%m n=%n o=%o
1000 h=%h i=a j=b k= l= m=%m n=%n o=%o
1001 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
1002 h=%h i=a j=b k= l= m= n=%n o=%o
1003 h=%h i=a j=b k= l= m= n= o=%o
1004 u=a v=b w=c x=d y=e z=f A=%A a=%a
1005 @todo_wine@U=a V=b W=c X=d Y=e Z=f A=%A a=m
1006 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
1007 h=%h i=e j=%j k=%k l=%l m=%m o=%o
1008 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
1009 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
1010 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
1011 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
1012 ------------ Testing del ------------
1014 errorlevel is 0, good
1015 successfully deleted 'file'
1016 attempting to delete 'file', even though it is not present
1017 errorlevel is 0, good
1018 ------------ Testing del /a ------------
1019 not-r.test not found after delete, good
1020 r.test found before delete, good
1021 r.test not found after delete, good
1022 ------------ Testing del /q ------------
1023 del /q * succeeded on file1
1024 del /q * succeeded on file2.dat
1025 ------------ Testing del /s ------------
1026 ------------ Testing rename ------------
1027 --- ren and rename are synonymous
1033 --- rename read-only files
1034 read-only file renamed
1035 --- rename directories
1037 read-only dir renamed
1038 --- rename in other directory
1039 rename impossible in other directory
1040 original file still present
1041 ------------ Testing move ------------
1044 @todo_wine@file move with overwrite succeeded@or_broken@file overwrite impossible!
1045 @todo_wine@bar@or_broken@baz
1046 read-only files are moveable
1047 file moved in subdirectory
1048 @todo_wine@moving a file to itself is a no-op@or_broken@moving a file to itself should be a no-op!
1049 @todo_wine@ErrorLevel: 0@or_broken@ErrorLevel: 1
1051 simple directory move succeeded
1052 moving a directory to itself gives error; errlevel 1
1053 ------ dir in dir move
1057 ------------ Testing mkdir ------------
1058 --- md and mkdir are synonymous
1061 --- creating an already existing directory/file must fail
1064 --- multilevel path creation
1073 --- trailing backslashes
1078 mkdir ? gives errorlevel 1
1079 mkdir ?\foo gives errorlevel 1
1080 mkdir foo\? gives errorlevel 1
1082 mkdir foo\bar\? gives errorlevel 1
1084 --- multiple directories at once
1091 mkdir foo\* errorlevel 1
1093 ------------ Testing rmdir ------------
1102 non-empty dir not removed
1104 non-empty dir not removed
1105 recursive rmdir succeeded
1106 recursive rmdir succeeded
1111 ------------ Testing pushd/popd ------------
1113 --- popd is no-op when dir stack is empty
1115 --- pushing non-existing dir
1120 @drive@@path@foobar\baz
1126 ------------ Testing attrib ------------
1127 A @drive@@path@foobar\foo@or_broken@A @drive@@path@foobar\foo@or_broken@A I @drive@@path@foobar\foo
1128 --- read-only attribute
1129 A R @drive@@path@foobar\foo@or_broken@A R @drive@@path@foobar\foo@or_broken@A R I @drive@@path@foobar\foo
1131 foo original contents
1132 Read-only file not deleted
1133 Read-only file forcibly deleted
1134 --- recursive behaviour
1135 A @drive@@path@foobar\baz\level2@or_broken@A @drive@@path@foobar\baz\level2@or_broken@A I @drive@@path@foobar\baz\level2
1136 A R @drive@@path@foobar\level1@or_broken@A R @drive@@path@foobar\level1@or_broken@A R I @drive@@path@foobar\level1
1137 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
1138 A @drive@@path@foobar\bar@or_broken@A @drive@@path@foobar\bar@or_broken@A I @drive@@path@foobar\bar
1139 --- folders processing
1140 @drive@@path@foobar@or_broken@ @drive@@path@foobar@or_broken@ I @drive@@path@foobar
1141 @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
1142 A @drive@@path@foobar\baz\toto@or_broken@A @drive@@path@foobar\baz\toto@or_broken@A I @drive@@path@foobar\baz\toto
1145 file created in read-only dir
1146 ------------ Testing assoc ------------
1147 --- setting association
1153 --- resetting association
1157 ------------ Testing ftype ------------
1158 --- setting association
1165 --- resetting association
1166 @todo_wine@original value@or_broken@buggyXP@or_broken@!WINE_FOO!
1167 ------------ Testing CALL ------------
1177 --- internal routines
1188 Should expand foobaz
1199 ------------ Testing SHIFT ------------
1200 'p1' 'p2' 'p3' 'p4' 'p5'
1201 'p2' 'p3' 'p4' 'p5' ''
1202 'p3' 'p4' 'p5' '' ''
1206 ------------ Testing cmd invocation ------------
1207 --- a batch file can delete itself
1208 file correctly deleted
1209 --- a batch file can alter itself
1211 ---------- Testing copy
1212 Passed: Found expected dummy.file
1213 Passed: Found expected dir1\file1
1214 Passed: Found expected dir1\file1
1215 Passed: Found expected dir1\file99
1216 Passed: Found expected file1
1217 Passed: Did not find dir2
1218 Passed: Did not find dir2\file1
1219 Passed: Found expected dir1\file1
1220 Passed: Found expected dir1\file2
1221 Passed: Found expected dir1\file3
1222 Passed: Found expected dir1\file1
1223 Passed: Found expected dir1\file2
1224 Passed: Found expected dir1\file3
1225 Passed: Found expected file1
1226 Passed: Found expected file2
1227 Passed: Found expected file3
1228 Passed: Did not find dir2
1229 Passed: Did not find dir2\file1
1230 Passed: Did not find dir2\file2
1231 Passed: Did not find dir2\file3
1232 Passed: Found expected testfile
1233 Passed: Found expected testfile
1234 Passed: Found expected testfile
1235 Passed: Found expected testfile
1236 Passed: Found expected testfile
1237 Passed: Found expected dir1\fred
1238 Passed: Found expected dir1\fred
1239 Passed: Found expected fred
1240 Passed: Found expected fred
1241 Passed: file size check on file1 [5]@or_broken@Skipping file size check on NT4
1242 Passed: file size check on file2 [8]@or_broken@Skipping file size check on NT4
1243 Passed: file size check on file3 [11]@or_broken@Skipping file size check on NT4
1244 Passed: file size check on file1_default [5]@or_broken@Skipping file size check on NT4
1245 Passed: file size check on file1_default2 [5]@or_broken@Skipping file size check on NT4
1246 Passed: file size check on file1_plus_eof [6]@or_broken@Skipping file size check on NT4
1247 Passed: file size check on file2_plus_eof [9]@or_broken@Skipping file size check on NT4
1248 Passed: file size check on file3_plus_eof [12]@or_broken@Skipping file size check on NT4
1249 Passed: file size check on file12_plus_eof [14]@or_broken@Skipping file size check on NT4
1250 Passed: file size check on file12_no_eof [13]@or_broken@Skipping file size check on NT4
1251 Passed: file size check on file12_eof2 [14]@or_broken@Skipping file size check on NT4
1252 Passed: file size check on file1_binary_srccopy [6]@or_broken@Skipping file size check on NT4
1253 Passed: file size check on file1_ascii_srccopy [5]@or_broken@Skipping file size check on NT4
1254 Passed: file size check on file123_default_copy [25]@or_broken@Skipping file size check on NT4
1255 Passed: file size check on file123_ascii_copy [25]@or_broken@Skipping file size check on NT4
1256 Passed: file size check on file123_binary_copy [27]@or_broken@Skipping file size check on NT4
1257 Passed: file size check on file123_mixed_copy1 [26]@or_broken@Skipping file size check on NT4
1258 Passed: file size check on file123_mixed_copy2 [27]@or_broken@Skipping file size check on NT4
1259 Passed: file size check on file123_mixed_copy3 [26]@or_broken@Skipping file size check on NT4
1260 Passed: file size check on file123_mixed_copy4 [25]@or_broken@Skipping file size check on NT4
1261 Passed: file size check on file123_mixed_copy5 [28]@or_broken@Skipping file size check on NT4
1262 Passed: file size check on file123_mixed_copy6 [19]@or_broken@Skipping file size check on NT4
1263 Passed: file size check on file123_mixed_copy7 [6]@or_broken@Skipping file size check on NT4
1264 Passed: file size check on file123_mixed_copy8 [7]@or_broken@Skipping file size check on NT4
1265 Passed: errorlevel invalid check 1
1266 Passed: Did not find dir1\file1
1267 Passed: errorlevel invalid check 2
1268 Passed: errorlevel invalid check 3
1269 ------------ Testing setlocal/endlocal ------------
1270 --- enable/disable extensions
1271 @todo_wine@ErrLev:@space@
1274 @todo_wine@ErrLev:@space@@or_broken@ErrLev: 0
1276 --- setlocal with corresponding endlocal
1279 @drive@@path@foobar\foobar2
1284 --- setlocal with no corresponding endlocal
1287 @drive@@path@foobar\foobar2
1290 --- setlocal within same batch program
1303 --- Mismatched set and end locals
1304 --- Extra setlocal in called batch
1307 @drive@@path@foobar\foodir3
1310 @drive@@path@foobar\foodir2
1313 --- Extra endlocal in called batch
1316 @drive@@path@foobar\foodir2
1318 @drive@@path@foobar\foodir2
1321 @drive@@path@foobar\foodir2
1324 --- endlocal in called function rather than batch pgm is ineffective
1333 ------------ Testing Errorlevel ------------
1336 errorlevel just right, good
1337 errorlevel with leading zero just right, good
1338 errorlevel with negative number OK
1339 abc0def@or_broken@abc1def
1340 errorlevel zero, good@or_broken@errorlevel nonzero, bad
1343 ------------ Testing GOTO ------------
1344 goto with no leading space worked
1345 goto with colon and no leading space worked
1346 goto with a leading space worked
1347 goto with a leading tab worked
1348 goto with a following space worked
1349 goto with following amphersands worked
1350 goto with redirections worked
1351 Ignoring double colons worked
1352 label with mixed whitespace and no echo worked
1353 Correctly ignored trailing information
1354 ------------ Testing PATH ------------
1358 ------------ Testing combined CALLs/GOTOs ------------