Fix kernel heap test

Hans Leidekker hans at it.vu.nl
Mon Dec 15 09:35:37 CST 2003


Hi,

The kernel heap test fails on Win98 and Win2k with errors like these:

heap.c:50: Test failed: GlobalReAlloc should fail on size 0, instead size=10
heap.c:69: Test failed: LocalReAlloc should fail on size 0, instead size=10

The test succeeds on Wine. This is wrong of course, tests should
always succeed on Windows and either succeed on Wine or fail on
Wine and be marked todo_wine.

The patch below reverses the logic of the [Global|Local]ReAlloc 
tests so they pass on Windows and marks them todo_wine.

 -Hans

Changelog:
  [Global|Local]ReAlloc don't fail with size 0.
  Fix typos.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: kernel_tests_heap_c.diff
Type: text/x-diff
Size: 2147 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20031215/02754f11/kernel_tests_heap_c.bin


More information about the wine-patches mailing list