Module: wine Branch: master Commit: 529bb1adffc926414f113df3d1bfde73a8db6327 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=529bb1adffc926414f113df3...
Author: Tijl Coosemans tijl@ulyssis.org Date: Fri Aug 4 17:39:49 2006 +0200
kernel/tests: Increase requested file size in two tests to hit FreeBSD file size limit.
---
dlls/kernel/tests/file.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/kernel/tests/file.c b/dlls/kernel/tests/file.c index e3506a9..a0ac890 100644 --- a/dlls/kernel/tests/file.c +++ b/dlls/kernel/tests/file.c @@ -1308,11 +1308,11 @@ static void test_MapFile(void) ok( hmap == NULL, "mapped zero size file\n"); ok( GetLastError() == ERROR_FILE_INVALID, "not ERROR_FILE_INVALID\n");
- hmap = CreateFileMapping( handle, NULL, PAGE_READWRITE, 0x1000, 0, NULL ); + hmap = CreateFileMapping( handle, NULL, PAGE_READWRITE, 0x80000000, 0, NULL ); ok( hmap == NULL, "mapping should fail\n"); /* GetLastError() varies between win9x and WinNT and also depends on the filesystem */
- hmap = CreateFileMapping( handle, NULL, PAGE_READWRITE, 0x1000, 0x10000, NULL ); + hmap = CreateFileMapping( handle, NULL, PAGE_READWRITE, 0x80000000, 0x10000, NULL ); ok( hmap == NULL, "mapping should fail\n"); /* GetLastError() varies between win9x and WinNT and also depends on the filesystem */