645 Commits

Author SHA1 Message Date
Frédéric Delanoy
325bfc72e0 cmd: Quiet a noisy 'FOR /F' fixme. 2011-08-26 11:33:07 +02:00
Frédéric Delanoy
92356ca2b7 cmd/tests: Add tests for FOR /F 'skip' option. 2011-08-26 11:33:01 +02:00
Frédéric Delanoy
fef13bf2ca cmd/tests: Add tests for FOR /F 'delims' option. 2011-08-26 11:32:58 +02:00
Frédéric Delanoy
1755885472 cmd/tests: Add tests for FOR /F 'eol' option. 2011-08-26 11:32:52 +02:00
Frédéric Delanoy
bf0e1c7ca7 cmd/tests: Add basic FOR /F tests. 2011-08-26 11:32:47 +02:00
Frédéric Delanoy
199f788c31 cmd/tests: Add FOR tests for various quoted parameters. 2011-08-26 11:32:40 +02:00
Frédéric Delanoy
ef70d88be0 cmd: Make some WCHAR arrays static. 2011-08-26 11:32:35 +02:00
Frédéric Delanoy
16744ed65e cmd/tests: Ensure ATTRIB tests pass on more Windows platforms.
There can be some default 'I' extended file attribute pertaining to
non-indexable file/folders by Indexing Service, e.g. when using CIFS.
2011-08-26 11:31:59 +02:00
Frédéric Delanoy
3ce59f5dba cmd/tests: Add attrib tests. 2011-08-25 19:15:29 +02:00
Frédéric Delanoy
82cdeb6d4d cmd/tests: Add tests for variables substrings. 2011-08-25 17:56:31 +02:00
Frédéric Delanoy
0decc777eb cmd/tests: Test handling of strings starting with on/off using the ECHO builtin. 2011-08-25 14:51:23 +02:00
Frédéric Delanoy
09655aca95 cmd: Misc tab fixes. 2011-08-25 14:51:16 +02:00
Frédéric Delanoy
eda33f22ff cmd: Fix if/else tab handling. 2011-08-25 14:51:02 +02:00
Frédéric Delanoy
6d3fd3abcd cmd: Fix REM tab handling. 2011-08-25 14:50:51 +02:00
Frédéric Delanoy
d147df418c cmd/tests: Add REM tests. 2011-08-25 14:50:43 +02:00
Frédéric Delanoy
f37ab586d8 cmd: Skip tabs as well as spaces in WCMD_skip_leading_spaces. 2011-08-25 14:50:38 +02:00
Frédéric Delanoy
7b125126a7 cmd: Fix FOR tab handling. 2011-08-25 14:50:31 +02:00
Frédéric Delanoy
20fa3fe802 cmd: Fix FOR tab handling. 2011-08-24 14:01:13 +02:00
Frédéric Delanoy
6572de3cfa cmd: Fix ECHO tab issues. 2011-08-24 14:01:03 +02:00
Frédéric Delanoy
a91eceaec0 cmd/tests: Add tests for tab handling. 2011-08-23 16:53:50 +02:00
Frédéric Delanoy
453996fe85 cmd/tests: Add @tab@ keyword recognition. 2011-08-23 16:53:50 +02:00
Frédéric Delanoy
6bd0671f07 cmd/tests: Add basic cd tests. 2011-08-23 16:53:50 +02:00
Frédéric Delanoy
ff501904a7 cmd: Constify some function parameters. 2011-08-23 16:53:50 +02:00
Frédéric Delanoy
bb47576f59 cmd: Rename WCMD_strtrim_leading_spaces to WCMD_skip_leading_spaces to better reflect its purpose. 2011-08-23 16:53:50 +02:00
Frédéric Delanoy
303af43ff5 cmd: Fix a FOR parsing bug when multiple spaces follow an IN. 2011-08-23 16:53:50 +02:00
Frédéric Delanoy
bc8fde1c00 cmd/tests: Fix bug where an output line was marked as matching when the expected line only differs by a terminal @space@. 2011-08-23 16:53:50 +02:00
Frédéric Delanoy
0758390607 cmd: Clarify some trace messages. 2011-08-23 16:53:50 +02:00
Frédéric Delanoy
822759a367 cmd: Remove reference to no longer existing WCMD_read_console from header file. 2011-08-23 16:53:50 +02:00
Frédéric Delanoy
d1731eb98a cmd: Use CSTR_* instead of hardcoded values as result of CompareStringW. 2011-08-23 16:53:49 +02:00
Frédéric Delanoy
71a237d478 cmd: Fix handling of lines starting with echo. or echo:. 2011-08-05 16:41:14 +02:00
Frédéric Delanoy
28fe027eee cmd/tests: Add FOR /A tests. 2011-08-04 18:27:37 +02:00
Frédéric Delanoy
920bdcc4b8 cmd/tests: Add setlocal/endlocal tests. 2011-08-04 18:27:36 +02:00
Frédéric Delanoy
8d328ff810 cmd/tests: Refactor "broken" keyword handling so all cases are handled correctly. 2011-08-04 18:27:36 +02:00
Frédéric Delanoy
7158257fd8 cmd/tests: Remove redundant ok check in compare_line function. 2011-08-04 18:27:35 +02:00
Frédéric Delanoy
5661e9cdca cmd/tests: Ensure failures are caught in all cases when an expected line ends with a '@'. 2011-08-04 18:27:35 +02:00
Frédéric Delanoy
bde872e782 cmd/tests: Fix "broken" handling when expected line is empty. 2011-08-03 17:46:14 +02:00
Dan Kegel
6990cdfe96 cmd: mkdir: Set errorlevel and output error message if final directory already exists. 2011-08-03 17:46:05 +02:00
Dan Kegel
3cd864bdf8 cmd: mkdir: Set errorlevel on invalid argument. 2011-08-03 17:45:01 +02:00
Dan Kegel
15ce9a5784 cmd: mkdir: Handle multiple arguments. 2011-08-03 17:44:53 +02:00
Francois Gouget
ed3c9a1eca Assorted spelling fixes. 2011-08-03 14:15:48 +02:00
Frédéric Delanoy
0cfe9fa6a5 cmd/tests: Additional tests for variable delayed expansion. 2011-08-02 20:47:51 +02:00
Frédéric Delanoy
3c8674a721 cmd/tests: Add tests for variable delayed expansion. 2011-08-01 18:26:27 +02:00
Frédéric Delanoy
ce57ebe32d cmd/tests: Additional CALL tests. 2011-07-29 15:31:31 +02:00
Frédéric Delanoy
7fb790f8a7 cmd/tests: Add FOR /L tests. 2011-07-29 15:31:28 +02:00
Frédéric Delanoy
21f7c5db61 cmd/tests: Add FOR /D tests. 2011-07-29 15:31:25 +02:00
Frédéric Delanoy
327eb31325 cmd/tests: Additional variable expansion FOR tests. 2011-07-28 18:55:25 +02:00
Frédéric Delanoy
25fcad3768 cmd: Partial fix for echo's special ':' handling. 2011-07-28 18:55:07 +02:00
Frédéric Delanoy
dcd544f744 cmd/tests: Test special handling of ':' in echo. 2011-07-28 18:54:50 +02:00
Frédéric Delanoy
5fe0f1e1dc cmd/tests: Fix test runner so it catches cases where an output line contains the associated expected line as prefix. 2011-07-28 18:54:47 +02:00
Frédéric Delanoy
8b73720d4e cmd: Fix some comments. 2011-07-27 12:28:26 +02:00