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@
45 @pwd@
>echo
off now@space@
48 @pwd@
>echo word@space@@space@
51 @pwd@
>echo word@space@@space@@space@
54 @pwd@
>echo word@space@
57 @pwd@
>echo@tab@word@space@
60 @pwd@
>echo@tab@word@space@@tab@@space@
63 @pwd@
>echo@tab@word@tab@@space@@space@
66 @pwd@
>echo word@space@
69 @pwd@
>echo@space@@tab@word@space@
72 @pwd@
>echo@space@@space@@tab@word@space@
75 @pwd@
>echo@tab@@tab@word@space@
78 @pwd@
>echo @tab@
on @space@@space@
82 ------------ Testing
'echo' [OFF] ------------
107 ------------ Testing mixed echo modes
------------
115 @todo_wine@@pwd@
>if 1 == 1 echo foo@space@
118 @todo_wine@@pwd@
>if 1 == 1@space@
122 ------------ Testing parameterization
------------
130 'a[b]{c}(d)e', '', ''
136 ------------ Testing
rem ------------
138 @pwd@
>rem Hello@space@
140 @pwd@
>rem Hello@space@
142 @pwd@
>rem Hello || foo@space@
144 @pwd@
>rem echo lol@space@
146 @pwd@
>rem echo foo
& echo bar@space@
148 @pwd@
>rem @tab@ Hello@space@
150 @pwd@
>rem@tab@ Hello@space@
152 @pwd@
>rem@tab@echo foo
& echo bar@space@
153 ------------ Testing redirection operators
------------
154 --- stdout redirection
160 foo7@space@@or_broken@foo@tab@
161 foo9@space@@or_broken@foo@tab@
182 @todo_wine@foo7@space@@space@@or_broken@not supported@space@
183 @todo_wine@foo@or_broken@not supported
184 --- redirections within
IF statements
189 file does not exist
, ok
202 ------------ Testing circumflex escape character
------------
228 ------------ Testing
'set' ------------
231 WINE_FOOBAR not defined
241 WINE_FOOBAR not defined
248 set "WINE_FOO=bar" should not include the quotes in the variable value
261 ------------ Testing
variable expansion
------------
262 ~dp0 should be directory containing batch file
265 CD value @pwd@@or_broken@CD value@space@
281 ------------ Testing
variable substrings
------------
289 ''@or_broken@
'qwerty'
291 ------------ Testing
variable substitution
------------
299 @pwd@\C D@or_broken@
%~ff
300 @pwd@\E@or_broken@
%~ff
303 @path@@or_broken@
%~pd
304 @path@@or_broken@
%~pd
310 @todo_wine@
'@drive@@shortpath@R S'@or_broken@
''
311 @todo_wine@
'@drive@@shortpath@T'@or_broken@
''
312 @todo_wine@
'@drive@@shortpath@ABCDEFGHIJK.LMNOP'@or_broken@
''
315 '--a------'@or_broken@
'%~ai'
346 @todo_wine@
'@drive@@shortpath@R S'@or_broken@
''
347 @todo_wine@
'@drive@@shortpath@T'@or_broken@
''
348 @todo_wine@
'@drive@@shortpath@ABCDEFGHIJK.LMNOP'@or_broken@
''
357 ------------ Testing
variable delayed expansion
------------
358 --- default
mode (load-time expansion
)
363 --- runtime
(delayed
) expansion
mode
365 foo@or_broken@
!WINE_FOO
!
372 --- using
/V cmd flag
374 foo@or_broken@
!WINE_FOO
!
377 ------------ Testing conditional execution
------------
378 --- unconditional ampersand
383 --- on success conditional and
384 @todo_wine@foo3 not created
387 --- on failure conditional or
390 @todo_wine@
------------ Testing cd
------------
392 Current
dir: @pwd@
\foobar@or_broken@Current
dir:@space@
408 ------------ Testing type
------------
410 @pwd@
>type foobaz@space@
413 @pwd@
>echo
---@space@
421 ------------ Testing NUL
------------
427 Passed
: file size check
on a.a
[7]@or_broken@Skipping file size check
on NT4
428 Passed
: file size check
on b.b
[8]@or_broken@Skipping file size check
on NT4
429 Passed
: file size check
on a.a
[7]@or_broken@Skipping file size check
on NT4
430 Passed
: file size check
on b.b
[8]@or_broken@Skipping file size check
on NT4
431 Passed
: file size check
on a.a
[7]@or_broken@Skipping file size check
on NT4
432 Passed
: file size check
on subdir
\a.a
[8]@or_broken@Skipping file size check
on NT4
433 ------------ Testing
if/else ------------
434 --- if/else should work with blocks
437 if seems not to detect
/c as parameter
438 --- case sensitivity with and without
/i option
439 if seems to default to case sensitivity
442 --- string comparisons
455 --- comparison operators
457 LSS string can be used as operand
for LSS comparison
458 floats are handled as strings
459 numbers in quotes are handled as strings
460 negative numbers as well@or_broken@NT4
461 if /i seems to work
for LSS
472 b LSS B@or_broken@NT4
473 a LSS B@or_broken@NT4
492 b LEQ B@or_broken@NT4
494 a LEQ B@or_broken@NT4
550 negative numbers handled
551 negative numbers handled
553 also in negative form
555 also in negative form
579 string
/hexa compare ok
580 string
/hexa compare ok
609 ------ for numbers and stringified numbers
610 strings and integers not equal
611 strings and integers not equal
614 '1' GEQ
1@or_broken@NT4
619 non NT4@or_broken@
1 GEQ
'1'
626 ------------ Testing
for ------------
685 Plain directory enumeration
686 Plain directory enumeration from provided root
688 File enumeration from provided root
690 Mixed enumeration from provided root
691 With duplicates enumeration
692 Strip missing wildcards
, keep unwildcarded names
694 --- Complex wildcards unix and windows slash
695 Windows slashs
, valid path
696 ASIS
: foobar
\baz
\bazbaz
697 WC
: foobar
\baz
\bazbaz
698 Windows slashs
, invalid path
699 ASIS
: foobar\jim
\bazbaz
700 Unix slashs
, valid path
701 ASIS
: foobar
/baz
/bazbaz
703 Unix slashs
, invalid path
704 ASIS
: foobar
/jim
/bazbaz
739 ------ individual operations
741 WINE_foo correctly
-1
744 WINE_foo correctly
10
747 WINE_foo correctly
-4
751 WINE_foo correctly
-2
754 WINE_foo correctly
0@or_broken@ERROR
: WINE_foo incorrectly
1073741824 [0]
755 WINE_foo correctly
0@or_broken@ERROR
: WINE_foo incorrectly
-1073741824 [0]
756 WINE_foo correctly
-4
760 WINE_foo correctly
-1
761 WINE_foo correctly
-3
777 ------ precedence and grouping
778 WINE_foo correctly
10
779 WINE_foo correctly
18@or_broken@ERROR
: WINE_foo incorrectly
[18]
780 WINE_foo correctly
2@or_broken@ERROR
: WINE_foo incorrectly
0 [2]
781 WINE_foo correctly
2@or_broken@ERROR
: WINE_foo incorrectly
[2]
782 WINE_foo correctly
0@or_broken@ERROR
: WINE_foo incorrectly
4 [0]
783 WINE_foo correctly
4@or_broken@ERROR
: WINE_foo incorrectly
[4]
784 WINE_foo correctly
3@or_broken@ERROR
: WINE_foo incorrectly
[3]
785 WINE_foo correctly
3@or_broken@ERROR
: WINE_foo incorrectly
[3]
786 ------ octal and hexadecimal
787 WINE_foo correctly
18
788 WINE_foo correctly
18
789 WINE_foo correctly
15
792 WINE_foo correctly
3@or_broken@ERROR
: WINE_foo incorrectly
0 [3]
793 WINE_bar correctly
3@or_broken@ERROR
: WINE_bar incorrectly
[3]
794 WINE_foo correctly
3@or_broken@ERROR
: WINE_foo incorrectly
0 [3]
795 WINE_bar correctly
4@or_broken@ERROR
: WINE_bar incorrectly
[4]
796 WINE_foo correctly
3@or_broken@ERROR
: WINE_foo incorrectly
0 [3]
797 WINE_bar correctly
3@or_broken@ERROR
: WINE_bar incorrectly
[3]
798 WINE_baz correctly
4@or_broken@ERROR
: WINE_baz incorrectly
[4]
799 WINE_foo correctly
9@or_broken@ERROR
: WINE_foo incorrectly
3 [9]
800 WINE_bar correctly
9@or_broken@ERROR
: WINE_bar incorrectly
3 [9]
804 WINE_foo correctly
-7@or_broken@ERROR
: WINE_foo incorrectly
4 [-7]
805 WINE_bar correctly
-7@or_broken@ERROR
: WINE_bar incorrectly
4 [-7]
806 WINE_foo correctly
-1@or_broken@ERROR
: WINE_foo incorrectly
-7 [-1]
807 WINE_bar correctly
-1@or_broken@ERROR
: WINE_bar incorrectly
-7 [-1]
808 WINE_foo correctly
5@or_broken@ERROR
: WINE_foo incorrectly
0 [5]
809 WINE_bar correctly
1@or_broken@ERROR
: WINE_bar incorrectly
[1]
810 WINE_foo correctly
4@or_broken@ERROR
: WINE_foo incorrectly
1 [4]
811 WINE_bar correctly
4@or_broken@ERROR
: WINE_bar incorrectly
1 [4]
812 WINE_foo correctly
1@or_broken@ERROR
: WINE_foo incorrectly
4 [1]
813 WINE_bar correctly
1@or_broken@ERROR
: WINE_bar incorrectly
4 [1]
814 WINE_foo correctly
0@or_broken@ERROR
: WINE_foo incorrectly
1 [0]
815 WINE_bar correctly
0@or_broken@ERROR
: WINE_bar incorrectly
1 [0]
816 WINE_foo correctly
5@or_broken@ERROR
: WINE_foo incorrectly
0 [5]
817 WINE_bar correctly
7@or_broken@ERROR
: WINE_bar incorrectly
[7]
818 WINE_foo correctly
5@or_broken@ERROR
: WINE_foo incorrectly
0 [5]
819 WINE_bar correctly
7@or_broken@ERROR
: WINE_bar incorrectly
[7]
820 WINE_foo correctly
19@or_broken@ERROR
: WINE_foo incorrectly
0 [19]
821 WINE_bar correctly
3@or_broken@ERROR
: WINE_bar incorrectly
[3]
853 WINE_foo correctly
18
855 WINE_bar correctly
7@or_broken@ERROR
: WINE_bar incorrectly
4 [7]
856 --- whitespace are ignored between double char operators
857 WINE_foo correctly
10@or_broken@ERROR
: WINE_foo incorrectly
4 [10]
858 WINE_bar correctly
50@or_broken@ERROR
: WINE_bar incorrectly
5 [50]
859 WINE_foo correctly
772@or_broken@ERROR
: WINE_foo incorrectly
4 [772]
860 WINE_bar correctly
7720@or_broken@ERROR
: WINE_bar incorrectly
5 [7720]
861 --- invalid operator sequence
864 ----- negative prefix
865 WINE_foo correctly
-1
866 WINE_foo correctly
1@or_broken@ERROR
: WINE_foo incorrectly
[1]
871 WINE_foo correctly
0@or_broken@ERROR
: WINE_foo incorrectly
[0]
873 WINE_foo correctly
3@or_broken@ERROR
: WINE_foo incorrectly
-5 [3]
874 ----- assignment tests involving the end destination
875 WINE_foo correctly
11@or_broken@ERROR
: WINE_foo incorrectly
3 [11]
876 WINE_foo correctly
6@or_broken@ERROR
: WINE_foo incorrectly
2 [6]
877 WINE_bar correctly
9@or_broken@ERROR
: WINE_bar incorrectly
[9]
878 WINE_foo correctly
6@or_broken@ERROR
: WINE_foo incorrectly
2 [6]
879 WINE_bar correctly
10@or_broken@ERROR
: WINE_bar incorrectly
[10]
880 WINE_baz correctly
7@or_broken@ERROR
: WINE_baz incorrectly
[7]
881 WINE_foo correctly
7@or_broken@ERROR
: WINE_foo incorrectly
2 [7]
882 WINE_bar correctly
7@or_broken@ERROR
: WINE_bar incorrectly
2 [7]
883 ----- equal precedence
on stack
884 WINE_foo correctly
1@or_broken@ERROR
: WINE_foo incorrectly
0 [1]
886 WINE_foo correctly
1@or_broken@ERROR
: WINE_foo incorrectly
[1]
887 WINE_foo correctly
0@or_broken@ERROR
: WINE_foo incorrectly
[0]
888 WINE_foo correctly
1@or_broken@ERROR
: WINE_foo incorrectly
[1]
889 WINE_foo correctly
-1@or_broken@ERROR
: WINE_foo incorrectly
[-1]
890 WINE_foo correctly
-1@or_broken@ERROR
: WINE_foo incorrectly
[-1]
891 WINE_foo correctly
1@or_broken@ERROR
: WINE_foo incorrectly
[1]
892 WINE_foo correctly
0@or_broken@ERROR
: WINE_foo incorrectly
[0]
893 WINE_foo correctly
-1
894 WINE_foo correctly
0@or_broken@ERROR
: WINE_foo incorrectly
-1 [0]
896 WINE_foo correctly
1@or_broken@ERROR
: WINE_foo incorrectly
0 [1]
897 WINE_foo correctly
-1@or_broken@ERROR
: WINE_foo incorrectly
0 [-1]
898 WINE_foo correctly
25@or_broken@ERROR
: WINE_foo incorrectly
20 [25]
899 WINE_foo correctly
20
903 WINE_foo correctly
8@or_broken@ERROR
: WINE_foo incorrectly
4 [8]
904 WINE_foo correctly
6@or_broken@ERROR
: WINE_foo incorrectly
5 [6]
905 WINE_bar correctly
6@or_broken@ERROR
: WINE_bar incorrectly
5 [6]
907 ------ string
argument
909 a@or_broken@no output
911 a@or_broken@no output
913 a@or_broken@no output
915 a@or_broken@no output
917 a@or_broken@no output
918 ------ fileset argument
919 --------- basic
blank handling
926 --------- multi
-line with empty lines
930 --------- multiple files
941 ------ command
argument
942 Passed1@or_broken@Missing functionality
- Broken1
943 Passed2@or_broken@Missing functionality
- Broken2
944 Passed3@or_broken@Missing functionality
- Broken3
946 and@or_broken@Broken NT4 functionality1
947 Line@or_broken@Broken NT4 functionality2
948 Line@or_broken@Broken NT4 functionality3
969 ------ tokens
= option
970 h
=%h i
=a j
=%j k
=%k l
=%l m
=%m o
=%o
971 h
=%h i
=b j
=%j k
=%k l
=%l m
=%m o
=%o
972 h
=%h i
=a j
=c k
=e l
=f m
=g o
=%o
973 h
=%h i
=a j
=e k
=f g l
=%l m
=%m o
=%o
974 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
975 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
976 h
=%h i
=a j
=b k
=c l
=d e f g m
=%m n
=%n o
=%o
977 h
=%h i
=a j
=b k
=c l
=d e f g m
=%m n
=%n o
=%o
978 h
=%h i
=a j
=b k
= l
= m
=%m n
=%n o
=%o
979 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
980 h
=%h i
=a j
=b k
= l
= m
= n
=%n o
=%o
981 h
=%h i
=a j
=b k
= l
= m
= n
= o
=%o
982 u
=a v
=b w
=c x
=d y
=e z
=f A
=%A a
=%a
983 @todo_wine@U
=a V
=b W
=c X
=d Y
=e Z
=f A
=%A a
=m
984 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
985 h
=%h i
=e j
=%j k
=%k l
=%l m
=%m o
=%o
986 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
987 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
988 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
989 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
990 ------------ Testing del
/a
------------
991 not
-r.test not found after
delete, good
992 r.test found before
delete, good
993 r.test not found after
delete, good
994 ------------ Testing del
/q
------------
995 del
/q
* succeeded
on file1
996 del
/q
* succeeded
on file2.dat
997 ------------ Testing del
/s
------------
998 ------------ Testing
rename ------------
999 --- ren and
rename are synonymous
1005 --- rename read
-only files
1006 read
-only file renamed
1007 --- rename directories
1009 read
-only
dir renamed
1010 --- rename in other directory
1011 rename impossible in other directory
1012 original file still present
1013 ------------ Testing
move ------------
1016 @todo_wine@file
move with overwrite succeeded@or_broken@file overwrite impossible
!
1017 @todo_wine@bar@or_broken@baz
1018 read
-only files are moveable
1019 file moved in subdirectory
1020 @todo_wine@moving a file to itself is a no
-op@or_broken@moving a file to itself should be a no
-op
!
1021 @todo_wine@ErrorLevel
: 0@or_broken@ErrorLevel
: 1
1023 simple directory
move succeeded
1024 moving a directory to itself gives error
; errlevel
1
1025 ------ dir in
dir move
1029 ------------ Testing
mkdir ------------
1030 --- md and
mkdir are synonymous
1033 --- creating an already existing directory
/file must fail
1036 --- multilevel path creation
1045 --- trailing backslashes
1050 mkdir ? gives errorlevel
1
1051 mkdir ?
\foo gives errorlevel
1
1052 mkdir foo
\? gives errorlevel
1
1054 mkdir foo
\bar
\? gives errorlevel
1
1056 --- multiple directories at once
1063 mkdir foo\
* errorlevel
1
1065 ------------ Testing
rmdir ------------
1074 non
-empty
dir not removed
1076 non
-empty
dir not removed
1077 recursive rmdir succeeded
1078 recursive rmdir succeeded
1083 ------------ Testing pushd
/popd
------------
1085 --- popd is no
-op when
dir stack is empty
1087 --- pushing non
-existing
dir
1098 ------------ Testing attrib
------------
1099 A @pwd@
\foobar
\foo@or_broken@A @pwd@
\foobar
\foo@or_broken@A I @pwd@
\foobar
\foo
1100 --- read
-only attribute
1101 A R @pwd@
\foobar
\foo@or_broken@A R @pwd@
\foobar
\foo@or_broken@A R I @pwd@
\foobar
\foo
1103 foo original contents
1104 Read
-only file not deleted
1105 Read
-only file forcibly deleted
1106 --- recursive behaviour
1107 A @pwd@
\foobar
\baz\level2@or_broken@A @pwd@
\foobar
\baz\level2@or_broken@A I @pwd@
\foobar
\baz\level2
1108 A R @pwd@
\foobar\level1@or_broken@A R @pwd@
\foobar\level1@or_broken@A R I @pwd@
\foobar\level1
1109 A R @pwd@
\foobar
\baz\level2@or_broken@A R @pwd@
\foobar
\baz\level2@or_broken@A R I @pwd@
\foobar
\baz\level2
1110 A @pwd@
\foobar
\bar@or_broken@A @pwd@
\foobar
\bar@or_broken@A I @pwd@
\foobar
\bar
1111 --- folders processing
1112 @pwd@
\foobar@or_broken@ @pwd@
\foobar@or_broken@ I @pwd@
\foobar
1113 @todo_wine@ R @pwd@
\foobar
\baz@or_broken@ R @pwd@
\foobar
\baz@or_broken@ @pwd@
\foobar
\baz@or_broken@ R I @pwd@
\foobar
\baz
1114 A @pwd@
\foobar
\baz
\toto@or_broken@A @pwd@
\foobar
\baz
\toto@or_broken@A I @pwd@
\foobar
\baz
\toto
1117 file created in read
-only
dir
1118 ------------ Testing assoc
------------
1119 --- setting association
1125 --- resetting association
1129 ------------ Testing ftype
------------
1130 --- setting association
1137 --- resetting association
1138 @todo_wine@original value@or_broken@buggyXP@or_broken@
!WINE_FOO
!
1139 ------------ Testing
CALL ------------
1149 --- internal routines
1160 Should expand foobaz
1171 ------------ Testing SHIFT
------------
1172 'p1' 'p2' 'p3' 'p4' 'p5'
1173 'p2' 'p3' 'p4' 'p5' ''
1174 'p3' 'p4' 'p5' '' ''
1178 ------------ Testing cmd invocation
------------
1179 --- a batch file can
delete itself
1180 file correctly deleted
1181 --- a batch file can alter itself
1183 ---------- Testing copy
1184 Passed
: Found expected dummy.file
1185 Passed
: Found expected dir1
\file
1
1186 Passed
: Found expected dir1
\file
1
1187 Passed
: Found expected dir1
\file
99
1188 Passed
: Found expected file1
1189 Passed
: Did not find dir2
1190 Passed
: Did not find dir2
\file
1
1191 Passed
: Found expected dir1
\file
1
1192 Passed
: Found expected dir1
\file
2
1193 Passed
: Found expected dir1
\file
3
1194 Passed
: Found expected dir1
\file
1
1195 Passed
: Found expected dir1
\file
2
1196 Passed
: Found expected dir1
\file
3
1197 Passed
: Found expected file1
1198 Passed
: Found expected file2
1199 Passed
: Found expected file3
1200 Passed
: Did not find dir2
1201 Passed
: Did not find dir2
\file
1
1202 Passed
: Did not find dir2
\file
2
1203 Passed
: Did not find dir2
\file
3
1204 Passed
: Found expected testfile
1205 Passed
: Found expected testfile
1206 Passed
: Found expected testfile
1207 Passed
: Found expected testfile
1208 Passed
: Found expected testfile
1209 Passed
: Found expected dir1
\fred
1210 Passed
: Found expected dir1
\fred
1211 Passed
: Found expected fred
1212 Passed
: Found expected fred
1213 Passed
: file size check
on file1
[5]@or_broken@Skipping file size check
on NT4
1214 Passed
: file size check
on file2
[8]@or_broken@Skipping file size check
on NT4
1215 Passed
: file size check
on file3
[11]@or_broken@Skipping file size check
on NT4
1216 Passed
: file size check
on file1_default
[5]@or_broken@Skipping file size check
on NT4
1217 Passed
: file size check
on file1_default2
[5]@or_broken@Skipping file size check
on NT4
1218 Passed
: file size check
on file1_plus_eof
[6]@or_broken@Skipping file size check
on NT4
1219 Passed
: file size check
on file2_plus_eof
[9]@or_broken@Skipping file size check
on NT4
1220 Passed
: file size check
on file3_plus_eof
[12]@or_broken@Skipping file size check
on NT4
1221 Passed
: file size check
on file12_plus_eof
[14]@or_broken@Skipping file size check
on NT4
1222 Passed
: file size check
on file12_no_eof
[13]@or_broken@Skipping file size check
on NT4
1223 Passed
: file size check
on file12_eof2
[14]@or_broken@Skipping file size check
on NT4
1224 Passed
: file size check
on file1_binary_srccopy
[6]@or_broken@Skipping file size check
on NT4
1225 Passed
: file size check
on file1_ascii_srccopy
[5]@or_broken@Skipping file size check
on NT4
1226 Passed
: file size check
on file123_default_copy
[25]@or_broken@Skipping file size check
on NT4
1227 Passed
: file size check
on file123_ascii_copy
[25]@or_broken@Skipping file size check
on NT4
1228 Passed
: file size check
on file123_binary_copy
[27]@or_broken@Skipping file size check
on NT4
1229 Passed
: file size check
on file123_mixed_copy1
[26]@or_broken@Skipping file size check
on NT4
1230 Passed
: file size check
on file123_mixed_copy2
[27]@or_broken@Skipping file size check
on NT4
1231 Passed
: file size check
on file123_mixed_copy3
[26]@or_broken@Skipping file size check
on NT4
1232 Passed
: file size check
on file123_mixed_copy4
[25]@or_broken@Skipping file size check
on NT4
1233 Passed
: file size check
on file123_mixed_copy5
[28]@or_broken@Skipping file size check
on NT4
1234 Passed
: file size check
on file123_mixed_copy6
[19]@or_broken@Skipping file size check
on NT4
1235 Passed
: file size check
on file123_mixed_copy7
[6]@or_broken@Skipping file size check
on NT4
1236 Passed
: file size check
on file123_mixed_copy8
[7]@or_broken@Skipping file size check
on NT4
1237 Passed
: errorlevel invalid check
1
1238 Passed
: Did not find dir1
\file
1
1239 Passed
: errorlevel invalid check
2
1240 Passed
: errorlevel invalid check
3
1241 ------------ Testing setlocal
/endlocal
------------
1242 --- enable
/disable extensions
1243 @todo_wine@ErrLev
:@space@
1246 @todo_wine@ErrLev
:@space@@or_broken@ErrLev
: 0
1248 --- setlocal with corresponding endlocal
1251 @pwd@
\foobar
\foobar
2
1256 --- setlocal with no corresponding endlocal
1259 @pwd@
\foobar
\foobar
2
1262 --- setlocal within same batch
program
1275 --- Mismatched
set and end locals
1276 --- Extra setlocal in called batch
1279 @pwd@
\foobar
\foodir
3
1282 @pwd@
\foobar
\foodir
2
1285 --- Extra endlocal in called batch
1288 @pwd@
\foobar
\foodir
2
1290 @pwd@
\foobar
\foodir
2
1293 @pwd@
\foobar
\foodir
2
1296 --- endlocal in called function rather than batch pgm is ineffective
1305 ------------ Testing Errorlevel
------------
1308 errorlevel just right
, good
1309 errorlevel with leading zero just right
, good
1310 errorlevel with negative number OK
1311 abc0def@or_broken@abc1def
1312 errorlevel zero
, good@or_broken@errorlevel nonzero
, bad
1315 ------------ Testing
GOTO ------------
1316 goto with no leading space worked
1317 goto with colon and no leading space worked
1318 goto with a leading space worked
1319 goto with a leading tab worked
1320 goto with a following space worked
1321 goto with following amphersands worked
1322 goto with redirections worked
1323 Ignoring double colons worked
1324 label with mixed whitespace and no echo worked
1325 Correctly ignored trailing information
1326 ------------ Testing PATH
------------
1330 ------------ Testing combined CALLs
/GOTOs
------------