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
48f0f163
Commit
48f0f163
authored
Feb 25, 2015
by
Andrew Eikum
Committed by
Alexandre Julliard
Feb 26, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32/tests: Don't test service timeout.
parent
1e783dbf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
16 deletions
+0
-16
service.c
dlls/advapi32/tests/service.c
+0
-16
No files found.
dlls/advapi32/tests/service.c
View file @
48f0f163
...
...
@@ -2267,18 +2267,6 @@ static void test_start_stop(void)
le
=
try_start_stop
(
svc_handle
,
displayname
,
is_nt4
);
ok
(
le
==
ERROR_SERVICE_REQUEST_TIMEOUT
,
"%d != ERROR_SERVICE_REQUEST_TIMEOUT
\n
"
,
le
);
/* And finally with a service that plays dead, forcing a timeout.
* This time we will put no quotes. That should work too, even if there are
* spaces in the path.
*/
sprintf
(
cmd
,
"%s service sleep"
,
selfname
);
displayname
=
"Winetest Sleep Service"
;
ret
=
ChangeServiceConfigA
(
svc_handle
,
SERVICE_NO_CHANGE
,
SERVICE_NO_CHANGE
,
SERVICE_NO_CHANGE
,
cmd
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
displayname
);
ok
(
ret
,
"ChangeServiceConfig() failed le=%u
\n
"
,
GetLastError
());
le
=
try_start_stop
(
svc_handle
,
displayname
,
is_nt4
);
ok
(
le
==
ERROR_SERVICE_REQUEST_TIMEOUT
,
"%d != ERROR_SERVICE_REQUEST_TIMEOUT
\n
"
,
le
);
cleanup:
if
(
svc_handle
)
{
...
...
@@ -2392,10 +2380,6 @@ START_TEST(service)
GetFullPathNameA
(
myARGV
[
0
],
sizeof
(
selfname
),
selfname
,
NULL
);
if
(
myARGC
>=
3
)
{
if
(
strcmp
(
myARGV
[
2
],
"sleep"
)
==
0
)
/* Cause a service startup timeout */
Sleep
(
90000
);
/* then, or if myARGV[2] == "exit", just exit */
return
;
}
...
...
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