[Bug 39234] New: setupapi:query fails if privileges not high enough

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Sep 7 10:07:23 CDT 2015


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 at winehq.org
          Reporter: fgouget at 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 at 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

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list