On Tue, Aug 30, 2011 at 00:34, Martin Wilck mwilck@arcor.de wrote:
This patch adds some tests for command line parsing and treatment of quotes and special characters in the command line and in program names and parameters. The .exp file was created using Win XP. Follow-up patches will fix the marked TODOs.
programs/cmd/tests/rsrc.rc | 6 + programs/cmd/tests/test_parsing.cmd | 158 +++++++++++++++++++++++++++++++ programs/cmd/tests/test_parsing.cmd.exp | 77 +++++++++++++++ 3 files changed, 241 insertions(+), 0 deletions(-) create mode 100644 programs/cmd/tests/test_parsing.cmd create mode 100644 programs/cmd/tests/test_parsing.cmd.exp
Some of those tests are already present in the test_builtins.cmd* (e.g. the spacing tests) You should probably integrated your tests in there: that makes it easier to spot regressions and helps prevent tests duplication
Also, see http://www.winehq.org/pipermail/wine-devel/2011-August/091817.html
Frédéric Delanoy