[PATCH v2] cmd/tests: Add tests for 'del' (Fixes bug 35970)
Hugh McMaster
hugh.mcmaster at outlook.com
Tue Nov 11 04:24:51 CST 2014
Wine currently returns an errorlevel of 1 when trying to delete a non-existent file.
Testing reveals 0 is the correct return value for all versions of Windows, except Windows 2000 (which does actually return 1).
Note that the DWORD errorlevel is set to 0 before this change.
- if (!found) {
- errorlevel = 1;
+ if (!found)
This patch fixes bug 35970.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmd-del-test.patch
Type: application/octet-stream
Size: 2381 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20141111/c24b7990/attachment-0001.obj>
More information about the wine-patches
mailing list