Commit 0907d8cc authored by Alexandre Julliard's avatar Alexandre Julliard

ntdll/tests: Fix a test failure on older Windows versions.

parent acecec4a
......@@ -245,7 +245,7 @@ static void test_NtAllocateVirtualMemory(void)
addr2 = (char *)addr1 + 0xffe;
status = NtFreeVirtualMemory(NtCurrentProcess(), &addr2, &size, MEM_DECOMMIT);
ok(status == STATUS_SUCCESS, "NtFreeVirtualMemory failed %x\n", status);
ok( size == 0, "wrong size %lx\n", size );
ok( size == 0 || broken(size == 0x10000) /* <= win10 1709 */, "wrong size %lx\n", size );
ok( addr2 == addr1, "wrong addr %p\n", addr2 );
size = 0;
......
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