https://bugs.winehq.org/show_bug.cgi?id=39234
Bug ID: 39234 Summary: setupapi:query fails if privileges not high enough Product: Wine Version: unspecified Hardware: x86 OS: Windows Status: NEW Severity: normal Priority: P2 Component: setupapi Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
The following failures only happen if the test is run in a restricted user account.
query.c:283: Test failed: Expected SetupGetInfInformation to succeed: 2 query.c:284: Test failed: Expected returned filename to be equal query.c:291: Test failed: Expected SetupGetInfInformation to succeed query.c:292: Test failed: Expected returned filename to be equal
This can be seen on the following WineTest box: fg-win2000-rusr: Windows 2000 with a Restricted user account
Note however that it succeeds in non-Restricted user accounts on the following boxes for instance: fg-win2000-susr: Windows 2000 with a Standard (Power) user account. fg-winxp-lusr: Windows XP with a Limited user account. fg-win7u64-1spie9usr: Windows 7 with a regular user account.
The failing tests were introduced by this commit:
commit ac6c9410587c7b0c3ec5614ba1c8289dd525a407 Author: James Hawkins truiken@gmail.com Date: Tue Jan 31 12:22:48 2006 +0100
setupapi: Add tests for SetupGetInfInformation.
See: https://test.winehq.org/data/tests/setupapi:query.html
https://bugs.winehq.org/show_bug.cgi?id=39234
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source, testcase
https://bugs.winehq.org/show_bug.cgi?id=39234
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|wine-bugs@winehq.org |fgouget@codeweavers.com
--- Comment #1 from François Gouget fgouget@codeweavers.com --- The TestBot does not have any non-administrator test configuration at this time, which may be why we do not see these failures anymore.
So the first step should be to add such test configurations.