[PATCH 3/3] kernel32: Add GetThreadIOPendingFlag tests
Dmitry Timoshkov
dmitry at baikal.ru
Fri Feb 3 00:42:30 CST 2017
Piotr Caban <piotr at codeweavers.com> wrote:
> + char path[16384] = {0};
...
> + r = GetTempPathA(MAX_PATH, path);
> + ok(r, "GetTempPathA error: %u\n", GetLastError());
> + lstrcatA(path, "testIOPendingFlag");
> + r = CreateDirectoryA(path, NULL);
> + ok(r, "CreateDirectoryA error: %d\n", GetLastError());
Why path[MAX_PATH] is not enough? Also you need to remove the created
directory at the end of the test.
--
Dmitry.
More information about the wine-devel
mailing list