https://bugs.winehq.org/show_bug.cgi?id=52161
Bug ID: 52161 Summary: ntdll:om fails when run without elevated privileges Product: Wine Version: unspecified Hardware: x86-64 OS: Windows Status: NEW Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
ntdll:om fails when run without elevated privileges:
om.c:2481: Test failed: CreateFile failed (5) om.c:2494: Test failed: CreateFile failed (5) om.c:2497: Test failed: comparing FFFFFFFFFFFFFFFF with FFFFFFFFFFFFFFFF returned 00000000
http://winetest.dolphin/data/patterns.html#ntdll:om
This can be reproduced on the TestBot's w1064-adm VM. The fix is probably just a matter of checking for ERROR_ACCESS_DENIED and aborting the test.
The failing tests were introduced with this commit:
commit 47c365606fe67b505fa94ad177d353cd1d10e1c5 Author: Jinoh Kang jinoh.kang.kr@gmail.com Date: Sun Nov 28 19:40:29 2021 +0900
ntdll/tests: Add tests for NtCompareObjects.
Signed-off-by: Jinoh Kang jinoh.kang.kr@gmail.com Signed-off-by: Alexandre Julliard julliard@winehq.org