https://bugs.winehq.org/show_bug.cgi?id=45389
Bug ID: 45389 Summary: odbccp32:misc fails if privileges are not high enough Product: Wine Version: unspecified Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: odbc Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com Distribution: ---
odbccp32:misc fails if privileges are not high enough, such as when running as administrator without elevated privileges, or running as a regular user:
misc.c:651: Test failed: installed driver not found
* Related source
https://source.winehq.org/git/wine.git/?a=blob;f=dlls/odbccp32/tests/misc.c;...
* odbccp32:misc failures on the WineTest website https://test.winehq.org/data/tests/odbccp32:misc.html
Line 651 was introduced by this commit:
commit 3478a81a4cd2bfae173332aff71f679fc4fa2b6d Author: Zebediah Figura z.figura12@gmail.com Date: Fri May 18 22:00:56 2018 -0500
odbccp32/tests: Add tests for SQLGetInstalledDrivers().
Signed-off-by: Zebediah Figura z.figura12@gmail.com Signed-off-by: Hans Leidekker hans@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
Luckily this issue can be reproduced on the w2000pro TestBot VM so it is easy to work on.
This issue can also be seen on the fg-win7u64-1spie9adm, fg-win7u64-1spie9usr and fg-winxp-lusr WineTest machines.