https://bugs.winehq.org/show_bug.cgi?id=42229
Bug ID: 42229 Summary: advapi32:eventlog test regression (privilege issue in test_start_trace) Product: Wine Version: unspecified Hardware: x86 OS: Windows Status: NEW Severity: normal Priority: P2 Component: advapi32 Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
The commit below introduces new failures on Windows 7 when it is run without elevated privileges.
eventlog.c:1221: Test failed: Expected success, got 5 eventlog.c:1225: Test failed: Expected ERROR_ALREADY_EXISTS, got 5
This can typically be seen on the fg-win7u64-1spie9adm and fg-win7u64-1spie9usr machines. Interestingly there is no failure on fg-winxp-lusr and yet the test is not skipped. So presumably Vista or Windows 7 tightened the security around StartTrace().
See: https://test.winehq.org/data/tests/advapi32:eventlog.html
commit 1bcd38f788bb5165cc65a830ea912ff4eda50b84 Author: Zebediah Figura z.figura12@gmail.com Date: Sun Dec 18 15:25:59 2016 -0600
advapi32: Add tests for StartTrace().
Signed-off-by: Zebediah Figura z.figura12@gmail.com Signed-off-by: Alexandre Julliard julliard@winehq.org