=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: kernel32/tests: Don' t test for the exact process count.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Sep 25 15:22:01 CDT 2015
Module: wine
Branch: master
Commit: 774efacbec2d15d2e4aab93932fae5605fc8ed0e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=774efacbec2d15d2e4aab93932fae5605fc8ed0e
Author: André Hentschel <nerv at dawncrow.de>
Date: Sat Sep 19 17:01:42 2015 +0200
kernel32/tests: Don't test for the exact process count.
---
dlls/kernel32/tests/toolhelp.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/kernel32/tests/toolhelp.c b/dlls/kernel32/tests/toolhelp.c
index ed76c9c..c40dbc4 100644
--- a/dlls/kernel32/tests/toolhelp.c
+++ b/dlls/kernel32/tests/toolhelp.c
@@ -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");
More information about the wine-cvs
mailing list