https://bugs.winehq.org/show_bug.cgi?id=55548
Bug ID: 55548 Summary: kernel32:power - test_GetSystemPowerStatus() fails on macOS Product: Wine Version: unspecified Hardware: x86-64 OS: Mac OS X Status: NEW Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
kernel32:power - test_GetSystemPowerStatus() fails on macOS:
power.c:34: Test failed: expected TRUE
See https://test.winehq.org/data/patterns.html#kernel32:power
The failure is systematic and only happens macOS (see Remi's rbernon-macos-* cloud test machines). It looks like the macOS implementation of fill_battery_state() fails, presumably because of permission issues.