mirror of
https://github.com/reactos/reactos.git
synced 2024-10-07 09:54:40 +00:00
4c9d322c68
CORE-10495 CORE-13672 See also commits8cf11060
(r40474),26ff2c8e
and7bd33ac4
. More information can be also found at: https://stackoverflow.com/a/34987886/13530036 and https://stackoverflow.com/a/34937706/13530036
89 lines
1,023 B
Plaintext
89 lines
1,023 B
Plaintext
------------ Testing FOR loop ------------
|
|
--- Multiple lines
|
|
A
|
|
B
|
|
C
|
|
--- Lines and spaces
|
|
D
|
|
E
|
|
F
|
|
--- Multiple lines and commas
|
|
G
|
|
H
|
|
I
|
|
--- Multiple lines and %I
|
|
%I
|
|
%I
|
|
%I
|
|
--- Multiple lines and %j
|
|
%j
|
|
%j
|
|
%j
|
|
---------- Testing AND operator ----------
|
|
TRUE AND condition
|
|
---------- Testing OR operator -----------
|
|
FALSE OR condition
|
|
---------- Testing CMD exit codes and errorlevels ----------
|
|
--- CMD /C Direct EXIT call
|
|
OK
|
|
OK
|
|
--- CMD /C Direct EXIT /B call
|
|
OK
|
|
OK
|
|
--- CMD /C Non-existing command
|
|
OK
|
|
OK
|
|
OK
|
|
OK
|
|
--- CMD /C RMDIR (no ERRORLEVEL set)
|
|
OK
|
|
OK
|
|
OK
|
|
OK
|
|
--- CMD /C DIR (sets ERRORLEVEL) - With failure
|
|
OK
|
|
OK
|
|
OK
|
|
OK
|
|
OK
|
|
OK
|
|
OK
|
|
OK
|
|
--- CMD /C DIR (sets ERRORLEVEL) - With success
|
|
OK
|
|
OK
|
|
OK
|
|
OK
|
|
OK
|
|
OK
|
|
--- CALL Batch Non-existing command
|
|
OK
|
|
OK
|
|
--- CALL Batch RMDIR (no ERRORLEVEL set)
|
|
OK
|
|
OK
|
|
--- CALL Batch RMDIR with || (sets ERRORLEVEL)
|
|
OK
|
|
OK
|
|
OK
|
|
OK
|
|
--- CALL Batch DIR (sets ERRORLEVEL) - With failure
|
|
OK
|
|
OK
|
|
OK
|
|
OK
|
|
OK
|
|
OK
|
|
OK
|
|
OK
|
|
--- CALL Batch DIR (sets ERRORLEVEL) - With success
|
|
OK
|
|
OK
|
|
OK
|
|
OK
|
|
OK
|
|
OK
|
|
OK
|
|
OK
|
|
--------- Finished --------------
|