1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

kernel32/tests: Comment out one more test that can crash on Windows.

This commit is contained in:
Alexandre Julliard 2023-09-20 13:49:10 +02:00
parent a5fe0bc70f
commit 74559aaa7f

View file

@ -264,6 +264,9 @@ static void test_HeapCreate(void)
ptr1 = HeapReAlloc( heap, 0, (void *)0xdeadbe00, 1 );
ok( !ptr1, "HeapReAlloc succeeded\n" );
ok( GetLastError() == ERROR_NOACCESS, "got error %lu\n", GetLastError() );
ret = HeapValidate( heap, 0, (void *)0xdeadbe00 );
ok( !ret, "HeapValidate succeeded\n" );
ok( GetLastError() == ERROR_NOACCESS, "got error %lu\n", GetLastError() );
SetLastError( 0xdeadbeef );
ptr = (BYTE *)((UINT_PTR)buffer & ~63) + 64;
ptr1 = HeapReAlloc( heap, 0, ptr, 1 );
@ -275,12 +278,6 @@ static void test_HeapCreate(void)
ret = HeapValidate( heap, 0, NULL );
ok( ret, "HeapValidate failed, error %lu\n", GetLastError() );
ok( GetLastError() == 0xdeadbeef, "got error %lu\n", GetLastError() );
SetLastError( 0xdeadbeef );
ret = HeapValidate( heap, 0, (void *)0xdeadbe00 );
ok( !ret, "HeapValidate succeeded\n" );
todo_wine
ok( GetLastError() == ERROR_NOACCESS, "got error %lu\n", GetLastError() );
SetLastError( 0xdeadbeef );
ptr = (BYTE *)((UINT_PTR)buffer & ~63) + 64;
ret = HeapValidate( heap, 0, ptr );
ok( !ret, "HeapValidate succeeded\n" );