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
66df782b
Commit
66df782b
authored
Apr 24, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32/tests: Fix a couple of test failures on Vista.
parent
163b046e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
service.c
dlls/advapi32/tests/service.c
+3
-5
No files found.
dlls/advapi32/tests/service.c
View file @
66df782b
...
...
@@ -307,7 +307,8 @@ static void test_create_delete_svc(void)
svc_handle1
=
CreateServiceA
(
scm_handle
,
servicename
,
NULL
,
GENERIC_ALL
,
SERVICE_WIN32_OWN_PROCESS
|
SERVICE_INTERACTIVE_PROCESS
,
SERVICE_DISABLED
,
0
,
pathname
,
NULL
,
NULL
,
NULL
,
account
,
password
);
ok
(
!
svc_handle1
,
"Expected failure
\n
"
);
ok
(
GetLastError
()
==
ERROR_INVALID_PARAMETER
,
"Expected ERROR_INVALID_PARAMETER, got %d
\n
"
,
GetLastError
());
ok
(
GetLastError
()
==
ERROR_INVALID_PARAMETER
||
GetLastError
()
==
ERROR_INVALID_SERVICE_ACCOUNT
,
"Expected ERROR_INVALID_PARAMETER or ERROR_INVALID_SERVICE_ACCOUNT, got %d
\n
"
,
GetLastError
());
/* Illegal (start-type is not a mask and should only be one of the possibilities)
* Remark : 'OR'-ing them could result in a valid possibility (but doesn't make sense as
...
...
@@ -1762,10 +1763,7 @@ static void test_sequence(void)
SetLastError
(
0xdeadbeef
);
ret
=
QueryServiceConfigA
(
svc_handle
,
config
,
given
,
&
needed
);
ok
(
ret
,
"Expected success, got error %u
\n
"
,
GetLastError
());
todo_wine
{
ok
(
given
==
needed
,
"Expected the given (%d) and needed (%d) buffersizes to be equal
\n
"
,
given
,
needed
);
}
ok
(
config
->
lpBinaryPathName
&&
config
->
lpLoadOrderGroup
&&
config
->
lpDependencies
&&
config
->
lpServiceStartName
&&
config
->
lpDisplayName
,
"Expected all string struct members to be non-NULL
\n
"
);
ok
(
config
->
dwServiceType
==
(
SERVICE_INTERACTIVE_PROCESS
|
SERVICE_WIN32_OWN_PROCESS
),
...
...
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