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
08671181
Commit
08671181
authored
Feb 01, 2010
by
Paul Vriens
Committed by
Alexandre Julliard
Feb 02, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi/tests: Fix some test failures on Win9x up to W2K.
parent
88f81550
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
4 deletions
+15
-4
install.c
dlls/msi/tests/install.c
+15
-4
No files found.
dlls/msi/tests/install.c
View file @
08671181
...
...
@@ -352,7 +352,7 @@ static const CHAR service_control_dat[] = "ServiceControl\tName\tEvent\tArgument
static
const
CHAR
sss_service_control_dat
[]
=
"ServiceControl
\t
Name
\t
Event
\t
Arguments
\t
Wait
\t
Component_
\n
"
"s72
\t
l255
\t
i2
\t
L255
\t
I2
\t
s72
\n
"
"ServiceControl
\t
ServiceControl
\n
"
"ServiceControl
\t
TermService
\t
1
\t\t
0
\t
service_comp"
;
"ServiceControl
\t
Spooler
\t
1
\t\t
0
\t
service_comp"
;
static
const
CHAR
sss_install_exec_seq_dat
[]
=
"Action
\t
Condition
\t
Sequence
\n
"
"s72
\t
S255
\t
I2
\n
"
...
...
@@ -7453,11 +7453,22 @@ static void test_start_services(void)
BOOL
ret
;
DWORD
error
=
ERROR_SUCCESS
;
if
(
on_win9x
)
{
win_skip
(
"Services are not implemented on Win9x and WinMe
\n
"
);
return
;
}
scm
=
OpenSCManager
(
NULL
,
NULL
,
SC_MANAGER_ALL_ACCESS
);
ok
(
scm
!=
NULL
,
"Failed to open the SC Manager
\n
"
);
service
=
OpenService
(
scm
,
"TermService"
,
SC_MANAGER_ALL_ACCESS
);
ok
(
service
!=
NULL
,
"Failed to open TermService
\n
"
);
service
=
OpenService
(
scm
,
"Spooler"
,
SC_MANAGER_ALL_ACCESS
);
if
(
!
service
&&
GetLastError
()
==
ERROR_SERVICE_DOES_NOT_EXIST
)
{
win_skip
(
"The 'Spooler' service does not exist
\n
"
);
CloseServiceHandle
(
scm
);
return
;
}
ok
(
service
!=
NULL
,
"Failed to open Spooler
\n
"
);
ret
=
StartService
(
service
,
0
,
NULL
);
if
(
!
ret
&&
(
error
=
GetLastError
())
!=
ERROR_SERVICE_ALREADY_RUNNING
)
...
...
@@ -7499,7 +7510,7 @@ static void test_start_services(void)
SERVICE_STATUS
status
;
scm
=
OpenSCManager
(
NULL
,
NULL
,
SC_MANAGER_ALL_ACCESS
);
service
=
OpenService
(
scm
,
"
TermService
"
,
SC_MANAGER_ALL_ACCESS
);
service
=
OpenService
(
scm
,
"
Spooler
"
,
SC_MANAGER_ALL_ACCESS
);
ret
=
ControlService
(
service
,
SERVICE_CONTROL_STOP
,
&
status
);
ok
(
ret
,
"ControlService failed %u
\n
"
,
GetLastError
());
...
...
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