wine/programs/cmd/tests
Maarten De Braekeleer 5e2f9996ba cmd: Fix 'if exist' with a directory/ as a parameter.
'if exists' takes a parameter which can be directory, directory/,
directory/. directory\ or directory\. for example, and should equate
to true if the directory exists. The syntax directory\ is explicitly
rejected by FindFirstFile and hence was not working - look for this
specific case, and if found append a '.'.

Follow-up commit of bc9d68bcbe

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55130#add_comment
2023-06-26 16:44:17 +02:00
..
batch.c cmd/tests: Make sure for /f doesn't loop infinitely on NULs. 2022-11-10 09:48:30 +01:00
Makefile.in cmd/tests: Enable compilation with long types. 2022-02-17 09:07:07 +01:00
rsrc.rc cmd/tests: Move command line tests to separate file. 2012-10-11 20:37:59 +02:00
test_builtins.cmd cmd: Fix 'if exist' with a directory/ as a parameter. 2023-06-26 16:44:17 +02:00
test_builtins.cmd.exp cmd: Fix 'if exist' with a directory/ as a parameter. 2023-06-26 16:44:17 +02:00
test_cmdline.cmd cmd.exe: Fix parsing of && between quotes. 2020-09-11 16:57:42 +02:00
test_cmdline.cmd.exp cmd.exe: Fix parsing of && between quotes. 2020-09-11 16:57:42 +02:00