Commit Graph

60 Commits

Author SHA1 Message Date
Alexandre Julliard ac572be030 kernel32/tests: Specify the correct machine for the fake dll file. 2009-11-24 15:53:37 +01:00
Alexandre Julliard 181b3cf07f server: Implement the file sharing check for delete on close with an existing image mapping. 2009-11-23 17:29:22 +01:00
Alexandre Julliard 923d582f07 server: Implement the file sharing check when truncating a file that has an existing mapping. 2009-11-23 17:24:45 +01:00
Alexandre Julliard fd504b6289 server: Implement the special file sharing rules for memory mappings. 2009-11-23 17:10:28 +01:00
Alexandre Julliard 647491418b kernel32/tests: Add more tests for file sharing with mappings, including SEC_IMAGE mappings. 2009-11-20 14:21:31 +01:00
Alexandre Julliard c073ee54c9 kernel32/tests: Add some tests for file sharing against a memory mapping. 2009-11-19 16:16:52 +01:00
Paul Vriens 159506893b kernel32/tests: Fix some test failures on Win9x/WinMe. 2009-11-10 15:18:05 +01:00
Michael Martin 39d8f13785 kernel32/tests: Additional tests for CopyFile/MoveFile used on mapped files. 2009-11-04 13:17:15 +01:00
Michael Stefaniuc 73d38b047b kernel32/tests: Use better types than long. 2009-10-06 11:57:53 +02:00
Paul Vriens a04e265486 kernel32/tests: Fix some test failures on WinMe. 2009-09-29 14:22:33 +02:00
Guy Albertelli 7c4939cbaa kernel32/tests: Fix tests to pass on Win9x and WinME. 2009-06-11 12:35:17 +02:00
Guy Albertelli 5632d2344e kernel32/tests: Fix tests when GetVolumeNameForVolumeMountPoint fails. 2009-06-08 15:27:20 +02:00
Guy Albertelli 25506ca64e kernel32/tests: Add tests for CreateFile errors and opening volumes. 2009-06-03 15:22:52 +02:00
Alexandre Julliard 9ccc9bd6a9 kernel32/tests: Run file tests in the temp directory if we don't have access to the drive root. 2009-05-27 12:47:33 +02:00
Andrew Nguyen 38f7d54fe0 kernel32/tests: Correctly skip when the Unicode file functions are not available. 2009-05-18 14:31:07 +02:00
Francois Gouget 5989534540 kernel32/tests: Use win_skip() to skip over unimplemented functionality. 2009-02-24 16:57:26 +01:00
Austin English 68cc3ff120 kernel32: Add test for renaming file over itself. 2009-02-20 11:11:31 +01:00
Juan Lang 705cdc88c4 kernel32: Fix some more failures on systems with reduced privilege. 2009-02-13 13:33:11 +01:00
Juan Lang 5dd87ec9b1 kernel32: Log more information in case of a test failure, and don't run tests that are guaranteed to fail. 2009-02-13 13:33:03 +01:00
Juan Lang 0edcef6d5e kernel32: Fix some test failures on systems with reduced privilege. 2009-02-13 13:32:56 +01:00
Alexandre Julliard 1a28fb6c16 kernel32/tests: Use a better invalid filename than "foo". 2009-02-03 15:15:49 +01:00
Nikolay Sivov 32cc4011ee kernel32: Make GetOverlappedResult crash on NULL args as native does. 2009-01-22 15:28:24 +01:00
Alexandre Julliard 8de57bd541 kernel32/tests: Add test cases for reading/writing from an invalid buffer address. 2009-01-15 12:05:53 +01:00
Alexandre Julliard 1f83e7d9fd kernel32/tests: Use _lclose instead of CloseHandle to avoid handle casts. 2009-01-08 13:05:16 +01:00
Alexandre Julliard 52f99aeacb kernel32/tests: Don't compare the result of llseek or hwrite against HFILE_ERROR. 2009-01-03 20:21:01 +01:00
Ge van Geldorp c7905ffebc kernel32/tests: Use shared Windows directory on TS to find regedit.exe. 2008-12-29 12:11:41 +01:00
Alexandre Julliard c03917c173 Define _WIN32_WINNT before including any headers. 2008-12-04 12:10:16 +01:00
Jeff Zaroyko afce615830 wineserver: Don't use O_CREAT and O_EXCL when attempting to open directories. 2008-12-03 09:58:21 +01:00
Jeff Zaroyko f8b5aa34dc kernel32: Add a test for CreateFile when using OPEN_ALWAYS on directories. 2008-12-03 09:57:52 +01:00
Alexandre Julliard 0d6415df16 kernel32/tests: Allow up to 2 seconds of difference in timestamps. 2008-11-18 13:52:25 +01:00
Alexandre Julliard 16feb03778 kernel32/tests: Fix the file test on various Windows versions. 2008-11-14 13:30:16 +01:00
Paul Vriens 5b83196484 kernel32/tests: Free memory after use. 2008-10-21 11:43:18 +02:00
Paul Vriens 7cb7c14476 kernel32/tests: Make sure we can remove a test directory. 2008-09-22 12:16:07 +02:00
Paul Vriens e23904ceb9 kernel32/tests: Fix tests on NT4. 2008-09-22 12:16:00 +02:00
Jeff Zaroyko 22a33168c9 kernel32: Modify DeleteFileW to fail on directories. 2008-09-18 12:32:57 +02:00
Alexandre Julliard 9f0773587b kernel32/tests: Fix a test on win9x. 2008-09-16 22:36:04 +02:00
Alexandre Julliard f0bf098e16 kernel32/tests: Fix the async I/O test to handle errors properly. 2008-09-11 13:49:16 +02:00
Francois Gouget d8914673ba kernel32/tests: Add a trailing '\n' to an ok() call. 2008-09-05 13:39:13 +02:00
Jeff Zaroyko 1b5873accc kernel32: Add some tests for DeleteFile. 2008-09-03 14:21:44 +02:00
Paul Vriens ac07480fab kernel32/tests: Use a file that is available on all platforms. 2008-08-26 10:57:05 +02:00
Paul Vriens 920c1fc77a kernel32/tests: Fix two failures on win9x. 2008-08-26 10:56:58 +02:00
James Hawkins c737542782 kernel32: Fix test failures because of a broken ReplaceFile in win2k. 2008-07-02 12:05:34 +02:00
Paul Vriens 8fb9503c6d kernel32/tests: Skip tests if function is not implemented. 2008-06-13 12:07:49 +02:00
Paul Vriens e7f5c45cf9 kernel32/tests: Fix a few typos. 2008-06-13 12:07:43 +02:00
Paul Vriens fc82d8c221 kernel32/tests: ReplaceFile[AW] doesn't exist on win9x. 2008-02-13 16:41:54 +01:00
Erich Hoover 664c68a2c9 kernel32: Add tests for ReplaceFileA and ReplaceFileW. 2008-02-12 23:03:37 +01:00
Francois Gouget 8ee430d146 kernel32/tests: Get the test to run on Windows 95. 2007-12-10 12:06:01 +01:00
Francois Gouget c43f61461f kernel32/tests: dll_capable() makes no sense since it's only used on APIs we link with. So remove it. 2007-12-10 12:05:55 +01:00
Dmitry Timoshkov d1a3025826 kernel32: Mask out FILE_ATTRIBUTE_NOT_CONTENT_INDEXED to prevent a test failure under Windows. 2007-11-16 12:33:24 +01:00
Dmitry Timoshkov 07efb2740b kernel32: Set last error to ERROR_ALREADY_EXISTS if CreateFile succeeds and file existed before for CREATE_ALWAYS and OPEN_ALWAYS. 2007-11-16 12:33:18 +01:00