[1/2] kernel32: Add a test for protections accepted by CreateFileMapping, make it pass under Wine.

Francois Gouget fgouget at free.fr
Mon Nov 28 05:24:30 CST 2011


Here is what I get on Windows Millenium.


-- 
Francois Gouget <fgouget at free.fr>              http://fgouget.free.fr/
May your Tongue stick to the Roof of your Mouth with the Force of a Thousand Caramels.
-------------- next part --------------
virtual.c:1680: system page size 0x1000

virtual.c:1687: Test failed: CreateFile(C:\WINDOWS\TEMP\map60F4.TMP) error 87

virtual.c:1744: Test failed: 0: CreateFileMapping should fail

virtual.c:1745: Test failed: 0: expected ERROR_INVALID_PARAMETER, got 0

virtual.c:1744: Test failed: 1: CreateFileMapping should fail

virtual.c:1745: Test failed: 1: expected ERROR_INVALID_PARAMETER, got 0

virtual.c:1725: Test failed: 2: 0x1 != PAGE_READONLY

virtual.c:1727: Test failed: 2: 0x20000 != MEM_MAPPED

virtual.c:1744: Test failed: 3: CreateFileMapping should fail

virtual.c:1745: Test failed: 3: expected ERROR_INVALID_PARAMETER, got 0

virtual.c:1725: Test failed: 4: 0x1 != PAGE_READONLY

virtual.c:1727: Test failed: 4: 0x20000 != MEM_MAPPED

virtual.c:1744: Test failed: 5: CreateFileMapping should fail

virtual.c:1745: Test failed: 5: expected ERROR_INVALID_PARAMETER, got 0

virtual.c:1744: Test failed: 6: CreateFileMapping should fail

virtual.c:1745: Test failed: 6: expected ERROR_INVALID_PARAMETER, got 0

virtual.c:1744: Test failed: 7: CreateFileMapping should fail

virtual.c:1745: Test failed: 7: expected ERROR_INVALID_PARAMETER, got 0

virtual.c:1725: Test failed: 8: 0x1 != PAGE_READONLY

virtual.c:1727: Test failed: 8: 0x20000 != MEM_MAPPED

virtual.c:1744: Test failed: 9: CreateFileMapping should fail

virtual.c:1745: Test failed: 9: expected ERROR_INVALID_PARAMETER, got 0

virtual.c:1744: Test failed: 10: CreateFileMapping should fail

virtual.c:1745: Test failed: 10: expected ERROR_INVALID_PARAMETER, got 0

virtual.c:1744: Test failed: 11: CreateFileMapping should fail

virtual.c:1745: Test failed: 11: expected ERROR_INVALID_PARAMETER, got 0

virtual.c:1744: Test failed: 12: CreateFileMapping should fail

virtual.c:1745: Test failed: 12: expected ERROR_INVALID_PARAMETER, got 0

virtual.c:1744: Test failed: 13: CreateFileMapping should fail

virtual.c:1745: Test failed: 13: expected ERROR_INVALID_PARAMETER, got 0

virtual.c:1744: Test failed: 14: CreateFileMapping should fail

virtual.c:1745: Test failed: 14: expected ERROR_INVALID_PARAMETER, got 0

virtual.c:1744: Test failed: 15: CreateFileMapping should fail

virtual.c:1745: Test failed: 15: expected ERROR_INVALID_PARAMETER, got 0

virtual.c:1744: Test failed: 16: CreateFileMapping should fail

virtual.c:1745: Test failed: 16: expected ERROR_INVALID_PARAMETER, got 0

virtual.c:1725: Test failed: 17: 0x1 != PAGE_READONLY

virtual.c:1727: Test failed: 17: 0x20000 != MEM_MAPPED

virtual.c:1744: Test failed: 18: CreateFileMapping should fail

virtual.c:1745: Test failed: 18: expected ERROR_INVALID_PARAMETER, got 0

virtual.c:1725: Test failed: 19: 0x1 != PAGE_READONLY

virtual.c:1727: Test failed: 19: 0x20000 != MEM_MAPPED

virtual.c:1744: Test failed: 20: CreateFileMapping should fail

virtual.c:1745: Test failed: 20: expected ERROR_INVALID_PARAMETER, got 0

virtual.c:1744: Test failed: 21: CreateFileMapping should fail

virtual.c:1745: Test failed: 21: expected ERROR_INVALID_PARAMETER, got 0

virtual.c:1744: Test failed: 22: CreateFileMapping should fail

virtual.c:1745: Test failed: 22: expected ERROR_INVALID_PARAMETER, got 0

virtual.c:1725: Test failed: 23: 0x1 != PAGE_READONLY

virtual.c:1727: Test failed: 23: 0x20000 != MEM_MAPPED

virtual.c:1744: Test failed: 24: CreateFileMapping should fail

virtual.c:1745: Test failed: 24: expected ERROR_INVALID_PARAMETER, got 0

virtual.c:1744: Test failed: 25: CreateFileMapping should fail

virtual.c:1745: Test failed: 25: expected ERROR_INVALID_PARAMETER, got 0

virtual.c:1744: Test failed: 26: CreateFileMapping should fail

virtual.c:1745: Test failed: 26: expected ERROR_INVALID_PARAMETER, got 0

virtual.c:1744: Test failed: 27: CreateFileMapping should fail

virtual.c:1745: Test failed: 27: expected ERROR_INVALID_PARAMETER, got 0

virtual.c:1744: Test failed: 28: CreateFileMapping should fail

virtual.c:1745: Test failed: 28: expected ERROR_INVALID_PARAMETER, got 0

virtual.c:1744: Test failed: 29: CreateFileMapping should fail

virtual.c:1745: Test failed: 29: expected ERROR_INVALID_PARAMETER, got 0

virtual.c:1744: Test failed: 30: CreateFileMapping should fail

virtual.c:1745: Test failed: 30: expected ERROR_INVALID_PARAMETER, got 0

virtual.c:1588: system page size 0x1000

virtual.c:1604: Test failed: 16: got 0x2 != expected 0x10

virtual.c:1606: Test failed: 16: 0x2 != 0x10

virtual.c:1604: Test failed: 17: got 0x2 != expected 0x20

virtual.c:1606: Test failed: 17: 0x2 != 0x20

virtual.c:1604: Test failed: 19: got 0x4 != expected 0x40

virtual.c:1606: Test failed: 19: 0x4 != 0x40

virtual.c:1617: Test failed: 19: got 0x4 != expected 0x40

virtual.c:1435: system page size 0x1000

virtual.c:1467: Test failed: 16: got 0x2 != expected 0x10

virtual.c:1484: Test failed: 16: got 0x2 != expected 0x10

virtual.c:1467: Test failed: 17: got 0x2 != expected 0x20

virtual.c:1484: Test failed: 17: got 0x2 != expected 0x20

virtual.c:1467: Test failed: 19: got 0x4 != expected 0x40

virtual.c:1484: Test failed: 19: got 0x4 != expected 0x40

virtual.c:87: Tests skipped: VirtualAllocEx not implemented

virtual.c:437: Tests skipped: no access checks on win9x

virtual.c:617: Tests skipped: no access checks on win9x

virtual.c:644: Tests skipped: no access checks on win9x

virtual.c:660: mapping same section resulted in views 83322000 and 83322000

virtual.c:805: Tests skipped: NtMapViewOfSection not available

virtual.c:855: Tests skipped: NtAreMappedFilesTheSame not available

virtual: 920 tests executed (0 marked as todo, 76 failures), 6 skipped.



More information about the wine-devel mailing list