[PATCH v2 1/3] ntdll/tests: Add tests for LdrGetDllFullName
Alexandre Julliard
julliard at winehq.org
Fri Jun 12 12:56:32 CDT 2020
Alex Henrie <alexhenrie24 at gmail.com> writes:
> + status = pLdrGetDllFullName(NULL, &path);
> + ok(status == STATUS_SUCCESS, "Expected STATUS_SUCCESS, got %08x\n", status);
> + extension = PathFindExtensionW(path_buffer);
> + ok(lstrcmpW(extension, dot_exe) == 0, "Expected %s, got %s\n",
> + wine_dbgstr_w(dot_exe), wine_dbgstr_w(extension));
I'd suggest to test the full path against GetModuleFileNameW(0), instead
of only the extension.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list