mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
kernel32/tests: Don't test for the exact process count.
This commit is contained in:
parent
d0a5a32546
commit
774efacbec
1 changed files with 4 additions and 4 deletions
|
@ -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 threads 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 threads in thread list\n");
|
||||
|
||||
me.dwSize = sizeof(me);
|
||||
ok(!pModule32First( hSnapshot, &me ), "shouldn't return a module\n");
|
||||
|
|
Loading…
Reference in a new issue