Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
56001057
Commit
56001057
authored
Jun 28, 2018
by
Zebediah Figura
Committed by
Alexandre Julliard
Jun 28, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
odbccp32/tests: Skip SQLGetInstalledDrivers() test if limited.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
9b626f51
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
misc.c
dlls/odbccp32/tests/misc.c
+11
-3
No files found.
dlls/odbccp32/tests/misc.c
View file @
56001057
...
...
@@ -618,11 +618,19 @@ static void test_SQLGetInstalledDrivers(void)
{
char
buffer
[
1000
],
*
p
;
WORD
written
,
len
;
BOOL
ret
,
sql_ret
;
DWORD
error_code
;
int
found
=
0
;
BOOL
ret
;
SQLInstallDriverEx
(
"Wine test
\0
Driver=test.dll
\0\0
"
,
NULL
,
buffer
,
sizeof
(
buffer
),
&
written
,
ODBC_INSTALL_COMPLETE
,
NULL
);
ret
=
SQLInstallDriverEx
(
"Wine test
\0
Driver=test.dll
\0\0
"
,
NULL
,
buffer
,
sizeof
(
buffer
),
&
written
,
ODBC_INSTALL_COMPLETE
,
NULL
);
ok
(
ret
,
"SQLInstallDriverEx failed: %d
\n
"
,
ret
);
sql_ret
=
SQLInstallerErrorW
(
1
,
&
error_code
,
NULL
,
0
,
NULL
);
if
(
sql_ret
&&
error_code
==
ODBC_ERROR_WRITING_SYSINFO_FAILED
)
{
skip
(
"not enough privileges
\n
"
);
return
;
}
ret
=
SQLGetInstalledDrivers
(
NULL
,
sizeof
(
buffer
),
&
written
);
ok
(
!
ret
,
"got %d
\n
"
,
ret
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment