mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 14:10:32 +00:00
msvcrt/tests: Fix a test failure on early XP versions.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
8b5a9051bf
commit
1b072058ac
@ -474,8 +474,9 @@ static void test_calloc(void)
|
||||
|
||||
errno = 0;
|
||||
ptr = calloc(~(size_t)0 / 2, ~(size_t)0 / 2);
|
||||
ok(ptr == NULL, "got %p\n", ptr);
|
||||
ok(ptr == NULL || broken(ptr != NULL) /* winxp sp0 */, "got %p\n", ptr);
|
||||
ok(errno == ENOMEM || broken(errno == 0) /* winxp, win2k3 */, "got errno %d\n", errno);
|
||||
free(ptr);
|
||||
}
|
||||
|
||||
START_TEST(heap)
|
||||
|
Loading…
Reference in New Issue
Block a user