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
774efacb
Commit
774efacb
authored
Sep 19, 2015
by
André Hentschel
Committed by
Alexandre Julliard
Sep 25, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Don't test for the exact process count.
parent
d0a5a325
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
toolhelp.c
dlls/kernel32/tests/toolhelp.c
+4
-4
No files found.
dlls/kernel32/tests/toolhelp.c
View file @
774efacb
...
...
@@ -175,8 +175,8 @@ static void test_thread(DWORD curr_pid, DWORD sub_pcs_pid)
num
++
;
}
while
(
pThread32Next
(
hSnapshot
,
&
te
));
}
ok
(
curr_found
==
1
,
"couldn't find self in thread list
\n
"
);
ok
(
sub_found
==
2
,
"couldn't find sub-process thread'
s in thread list
\n
"
);
ok
(
curr_found
,
"couldn't find self in thread list
\n
"
);
ok
(
sub_found
>=
2
,
"couldn't find sub-process thread
s in thread list
\n
"
);
/* check that first really resets enumeration */
curr_found
=
0
;
...
...
@@ -192,8 +192,8 @@ static void test_thread(DWORD curr_pid, DWORD sub_pcs_pid)
num
--
;
}
while
(
pThread32Next
(
hSnapshot
,
&
te
));
}
ok
(
curr_found
==
1
,
"couldn't find self in thread list
\n
"
);
ok
(
sub_found
==
2
,
"couldn't find sub-process thread'
s in thread list
\n
"
);
ok
(
curr_found
,
"couldn't find self in thread list
\n
"
);
ok
(
sub_found
>=
2
,
"couldn't find sub-process thread
s in thread list
\n
"
);
me
.
dwSize
=
sizeof
(
me
);
ok
(
!
pModule32First
(
hSnapshot
,
&
me
),
"shouldn't return a module
\n
"
);
...
...
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