Commit 1b072058 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

msvcrt/tests: Fix a test failure on early XP versions.

parent 8b5a9051
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment