Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
4abd7af2
Commit
4abd7af2
authored
Apr 13, 2023
by
Francois Gouget
Committed by
Alexandre Julliard
Apr 13, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32/tests: Make the services resume handle traces more informative.
parent
6e2efe54
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
service.c
dlls/advapi32/tests/service.c
+5
-5
No files found.
dlls/advapi32/tests/service.c
View file @
4abd7af2
...
...
@@ -1350,9 +1350,9 @@ static BOOL test_enum_svc(int attempt)
goto
retry
;
/* service stop race condition */
}
ok
(
!
ret
,
"Expected failure
\n
"
);
ok
(
needed
!=
0xdeadbeef
&&
needed
>
0
,
"Expected the needed buffer size for the missing services
\n
"
);
todo_wine
ok
(
needed
<
tempneeded
,
"Expected
a smaller needed buffer size for the missing services
\n
"
);
ok
(
returned
<
tempreturned
,
"Expected
fewer services to be returned
\n
"
);
ok
(
needed
!=
0xdeadbeef
&&
needed
>
0
,
"Expected the needed buffer size for the missing services
, got %lx
\n
"
,
needed
);
todo_wine
ok
(
needed
<
tempneeded
,
"Expected
< %lu bytes needed for the remaining services, got %lu
\n
"
,
tempneeded
,
needed
);
ok
(
returned
<
tempreturned
,
"Expected
< %lu remaining services, got %lu
\n
"
,
tempreturned
,
returned
);
todo_wine
ok
(
resume
,
"Expected a resume handle
\n
"
);
ok
(
GetLastError
()
==
ERROR_MORE_DATA
,
"Expected ERROR_MORE_DATA, got %ld
\n
"
,
GetLastError
());
...
...
@@ -1369,8 +1369,8 @@ static BOOL test_enum_svc(int attempt)
if
(
!
ret
&&
GetLastError
()
==
ERROR_MORE_DATA
&&
attempt
)
goto
retry
;
/* service start race condition */
ok
(
ret
,
"Expected success, got error %lu
\n
"
,
GetLastError
());
ok
(
needed
==
0
,
"Expected
needed buffer to be 0 as we are done
\n
"
);
todo_wine
ok
(
returned
==
missing
,
"Expected %lu
services to be returned
\n
"
,
missing
);
ok
(
needed
==
0
,
"Expected
0 needed bytes as we are done, got %lu
\n
"
,
needed
);
todo_wine
ok
(
returned
==
missing
,
"Expected %lu
remaining services, got %lu
\n
"
,
missing
,
returned
);
ok
(
resume
==
0
,
"Expected the resume handle to be 0
\n
"
);
/* See if things add up */
...
...
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