Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sebastian Mayr
wine
Commits
c81d36e9
Commit
c81d36e9
authored
16 years ago
by
James Hawkins
Committed by
Alexandre Julliard
16 years ago
Browse files
Options
Downloads
Patches
Plain Diff
kernel32: Remove two tests that produce different results for win9x and NT platforms.
parent
f8282d96
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dlls/kernel32/tests/toolhelp.c
+0
-8
0 additions, 8 deletions
dlls/kernel32/tests/toolhelp.c
with
0 additions
and
8 deletions
dlls/kernel32/tests/toolhelp.c
+
0
−
8
View file @
c81d36e9
...
...
@@ -102,7 +102,6 @@ static void test_process(DWORD curr_pid, DWORD sub_pcs_pid)
{
HANDLE
hSnapshot
;
PROCESSENTRY32
pe
;
THREADENTRY32
te
;
MODULEENTRY32
me
;
unsigned
found
=
0
;
int
num
=
0
;
...
...
@@ -144,9 +143,6 @@ static void test_process(DWORD curr_pid, DWORD sub_pcs_pid)
* interesting to be there, especially not the just forked off child */
ok
(
childpos
!=
0
,
"child is not expected to be at position 0.
\n
"
);
te
.
dwSize
=
sizeof
(
te
);
ok
(
!
pThread32First
(
hSnapshot
,
&
te
),
"shouldn't return a thread
\n
"
);
me
.
dwSize
=
sizeof
(
me
);
ok
(
!
pModule32First
(
hSnapshot
,
&
me
),
"shouldn't return a module
\n
"
);
...
...
@@ -157,7 +153,6 @@ static void test_process(DWORD curr_pid, DWORD sub_pcs_pid)
static
void
test_thread
(
DWORD
curr_pid
,
DWORD
sub_pcs_pid
)
{
HANDLE
hSnapshot
;
PROCESSENTRY32
pe
;
THREADENTRY32
te
;
MODULEENTRY32
me
;
int
num
=
0
;
...
...
@@ -198,9 +193,6 @@ static void test_thread(DWORD curr_pid, DWORD sub_pcs_pid)
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
"
);
pe
.
dwSize
=
sizeof
(
pe
);
ok
(
!
pProcess32First
(
hSnapshot
,
&
pe
),
"shouldn't return a process
\n
"
);
me
.
dwSize
=
sizeof
(
me
);
ok
(
!
pModule32First
(
hSnapshot
,
&
me
),
"shouldn't return a module
\n
"
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment