kernel/tests: FreeBSD file size limit
Tijl Coosemans
tijl at ulyssis.org
Fri Aug 4 10:39:49 CDT 2006
Increase requested file size in two tests to hit FreeBSD file size limit.
Index: dlls/kernel/tests/file.c
===================================================================
RCS file: /home/wine/wine/dlls/kernel/tests/file.c,v
retrieving revision 1.68
diff -u -r1.68 file.c
--- dlls/kernel/tests/file.c 6 Jul 2006 15:45:14 -0000 1.68
+++ dlls/kernel/tests/file.c 4 Aug 2006 15:21:57 -0000
@@ -1308,11 +1308,11 @@
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 */
More information about the wine-patches
mailing list