10 May
2025
10 May
'25
11:05 a.m.
Jinoh Kang (@iamahuman) commented about dlls/advapi32/tests/security.c:
ok(tid, "got error %lu\n", GetLastError());
hproc = OpenProcess(PROCESS_QUERY_LIMITED_INFORMATION, FALSE, pid); - ok(hproc != NULL, "got error %lu\n", GetLastError()); + if (!hproc) + { + skip("could not open process, error %lu\n", GetLastError());
```suggestion:-0+0 ok(GetLastError() == ERROR_ACCESS_DENIED, "got error %lu.\n", GetLastError()); skip("could not open process, error %lu\n", GetLastError()); ``` (Untested) -- https://gitlab.winehq.org/wine/wine/-/merge_requests/7996#note_102906