Commit Graph

360 Commits

Author SHA1 Message Date
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
Frédéric Delanoy 011d5c331c cmd/tests: Add tests for stdout redirection and appending operators. 2011-07-27 12:28:12 +02:00
Frédéric Delanoy 093547e158 cmd: Add help for setlocal/endlocal commands. 2011-07-26 18:19:23 +02:00
Frédéric Delanoy 414bd437a9 cmd/tests: Test multiple params rmdir. 2011-07-25 22:30:01 +02:00
Frédéric Delanoy 9e57a09bb5 cmd/tests: Test multiple params mkdir. 2011-07-25 22:29:59 +02:00
Frédéric Delanoy 1e28bbb88e cmd/tests: Add ^ escape character tests. 2011-07-25 14:01:05 +02:00
Frédéric Delanoy 3d9245830f cmd/tests: Add tests for || on failure conditional execution. 2011-07-25 14:00:48 +02:00
Frédéric Delanoy 73413693d6 cmd/tests: Add tests for && on success conditional execution. 2011-07-25 14:00:46 +02:00
Frédéric Delanoy 8b1d8e9e82 cmd/tests: Add tests for & (un)conditional execution. 2011-07-25 14:00:44 +02:00
Frédéric Delanoy d1862e473b cmd: Fix comment for CMD_PIPE. 2011-07-21 16:28:48 +02:00
Frédéric Delanoy 8f8aa7a35e cmd/tests: Add CALL tests. 2011-07-21 16:28:46 +02:00
Frédéric Delanoy 5d22f3aa14 cmd/tests: Add tests for NUL handling. 2011-07-19 18:26:22 +02:00
Frédéric Delanoy a28c7caf3e cmd/tests: Test that ErrorLevel is set to 9009 when unknown commands are encountered. 2011-07-19 14:04:25 +02:00
Frédéric Delanoy 23cd306a7d cmd/tests: Add tests for recursive rmdir. 2011-07-19 14:04:16 +02:00
Frédéric Delanoy 79926d6f2b cmd/tests: Add SET tests. 2011-07-18 16:23:30 +02:00
Frédéric Delanoy 1cb7378e94 cmd/tests: Convert line endings to DOS style at runtime before running batch test file. 2011-07-18 16:23:29 +02:00
Frédéric Delanoy 4b4dd300f6 cmd: Avoid excess newline after TYPE outputs file contents. 2011-07-15 17:07:51 +02:00
Frédéric Delanoy f43297f989 cmd: Do not show prompt when echo mode is off. 2011-07-15 17:07:46 +02:00
Frédéric Delanoy 91c4632941 cmd: Avoid printing an excess newline after version is displayed on startup. 2011-07-15 17:07:39 +02:00
Frédéric Delanoy 123d5d0d60 cmd: Output a empty line before version in VER. 2011-07-15 17:03:17 +02:00
André Hentschel a9504e276c cmd/tests: Add test for parameter detection. 2011-07-12 11:46:23 +02:00
Frédéric Delanoy b37d39e351 cmd/tests: Add basic rmdir tests. 2011-07-12 11:46:23 +02:00
Frédéric Delanoy 3f173faf1b cmd/tests: Add mkdir tests for trailing backslashes and invalid chars handling. 2011-07-12 11:46:23 +02:00
Frédéric Delanoy 9114dc5c03 cmd/tests: Add basic mkdir tests. 2011-07-12 11:46:23 +02:00
Frédéric Delanoy 63a6a80d40 cmd/tests: Add basic "for" tests. 2011-07-12 11:46:23 +02:00
Frédéric Delanoy 88ff0e816a cmd/tests: Add support for todo_wine constructions. 2011-07-11 12:19:31 +02:00
Alexandre Julliard 766dc67043 cmd/tests: Rewrite replace_escaped_spaces to avoid overflows.
Spotted by Marcus Meissner.
2011-07-06 19:51:51 +02:00
Frédéric Delanoy 5cb45138da cmd/tests: Get rid of obsolete @todo_space@ construct. 2011-06-14 15:21:18 +02:00
Dan Kegel 32ea7d1f2e cmd: WCMD_delete: fix /s for dirnames containing spaces, add test. 2011-06-02 17:24:58 +02:00
Dan Kegel 3ccfbaef70 cmd: WCMD_delete: move "Delete *.* ?" processing into WCMD_delete_confirm_wildcard. 2011-05-31 18:32:59 +02:00
Dan Kegel 1857a05996 cmd: Don't read past end of thisVar in WCMD_expand_envvar (valgrind). 2011-05-26 15:23:57 +02:00
Dan Kegel 67873bdc9f cmd: Add simple test for %errorlevel%. 2011-05-26 15:23:56 +02:00
Dan Kegel ff1e7038b2 cmd: del /a: test deleting readonly files, with fix. 2011-05-24 13:26:04 +02:00
Dan Kegel 65b27c9ecd cmd: del /a: move parsing of attributes to helper function, use bitmasks. 2011-05-24 13:25:46 +02:00
Francois Gouget d770f86c9a programs: In English punctuations are not preceded by a space. 2011-03-30 18:23:40 +02:00
Francois Gouget 8067f7606c cmd: Add full stops to some parameter descriptions in the usage. 2011-03-16 14:14:23 +01:00