Sweden-Number/programs/cmd/tests
Bernhard Übelacker f238e846e7 cmd.exe: Change parsing of the if command to avoid parsing the operators.
Found while trying to look into bug 44236.
A batch script is executed containing a line like this:
  if (%1)==(p) start /W  " "  "%SFDIR%WSFplot" wr2300.t35 3

This returns an error like this:
  Syntax error
  Can't recognize 'p' as an internal or external command, or batch script.

It looks like native does handle the brackets differently when contained
inside the condition part of the if command.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=44338
Signed-off-by: Bernhard Übelacker <bernhardu@mailbox.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-23 22:12:09 +02:00
..
Makefile.in makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
batch.c cmd/tests: Fix test failures on latest Windows 10. 2018-12-11 16:29:14 +01:00
rsrc.rc
test_builtins.cmd cmd.exe: Change parsing of the if command to avoid parsing the operators. 2019-08-23 22:12:09 +02:00
test_builtins.cmd.exp cmd.exe: Change parsing of the if command to avoid parsing the operators. 2019-08-23 22:12:09 +02:00
test_cmdline.cmd cmd: Avoid infinite loop running batch program. 2013-06-05 17:31:36 +02:00
test_cmdline.cmd.exp cmd: Avoid infinite loop running batch program. 2013-06-05 17:31:36 +02:00