Commit Graph

143 Commits

Author SHA1 Message Date
Hans Leidekker c019083240 kernel32: Implement SetFileValidData. 2012-12-04 14:42:28 +01:00
Francois Gouget ed9e745580 Assorted spelling tweaks and fixes. 2012-10-22 12:21:55 +02:00
Marcus Meissner 0a8df5ef26 kernel32: Buffer size is in characters (Coverity). 2012-10-15 13:31:04 +02:00
Vincas Miliūnas aba4619dfe kernel32: Added implementation for OpenFileById. 2012-10-12 13:20:40 +02:00
Vincas Miliūnas be1c0edfcf kernel32/tests: Added tests for OpenFileById. 2012-10-12 13:20:39 +02:00
Vincas Miliūnas 6314cf0295 kernel32: Added implementation of FileIdBothDirectoryInfo for GetFileInformationByHandleEx. 2012-10-12 13:14:43 +02:00
Vincas Miliūnas 9cec60bb1e kernel32/tests: Added tests of FileIdBothDirectoryInfo for GetFileInformationByHandleEx. 2012-10-12 13:13:06 +02:00
André Hentschel 538a0abbd7 include: Rename IMAGE_FILE_MACHINE_ARMV7 to IMAGE_FILE_MACHINE_ARMNT. 2012-08-17 10:45:17 +02:00
Dmitry Timoshkov 68ffbaa718 kernel32: Add a test for deleting a file opened for reading. 2012-06-22 14:09:49 +02:00
Alexandre Julliard 5d770503b9 kernel32/tests: Avoid a non-portable printf format. 2012-05-14 14:15:53 +02:00
Dmitry Timoshkov 7a9fce25ec kernel32: Add some CreateFile disposition and access tests. 2012-03-09 11:30:39 +01:00
Dmitry Timoshkov 75209ffdaf kernel32: Fix file test compilation with PSDK headers. 2012-03-09 11:30:21 +01:00
André Hentschel 8f369c9edb kernel32/tests: Use ARMv7 for PE images. 2011-11-01 16:45:33 +01:00
Alexander Morozov d0451f6b3f server: Fix overlapping shared and exclusive locks support. 2011-10-12 17:10:54 +02:00
Alexander Morozov b2a302b667 kernel32/tests: Shared lock can overlap exclusive if handles are equal. 2011-10-11 20:01:56 +02:00
Thomas Faber bcbaefe8b5 kernel32/tests: Fix MSVC build in file.c and pipe.c. 2011-10-04 17:31:08 -05:00
André Hentschel 0ba0f505af kernel32/tests: Don't test function directly when reporting GetLastError(). 2011-09-26 18:16:03 +02:00
Bernhard Loos c19d166529 kernel32: CreateFile uses an nonalertable io mode. 2011-08-23 16:53:55 +02:00
Alexandre Julliard 7654688886 kernel32/tests: Add tests for file sharing with file-specific access bits. 2011-07-01 18:33:37 +02:00
Alexandre Julliard d0f3d06172 kernel32/tests: Get rid of the Win9x support in the file sharing tests. 2011-07-01 18:33:37 +02:00
Alexandre Julliard d4b7888dbf kernel32/tests: Delete some temporary files. 2011-05-26 13:28:55 +02:00
Austin English 194e43f6e3 kernel32/tests: Make sure to use return values (LLVM/Clang). 2011-02-17 18:33:42 +01:00
André Hentschel ee3a6770b8 kernel32: Add ARM support. 2010-09-20 12:55:29 +02:00
Austin English 90b5342fb8 kernel32/tests: Sparc fixes. 2010-08-24 12:22:39 +02:00
Austin English 067168b67b kernel32/tests: Add a test for CreateFileA. 2010-07-28 16:28:19 +02:00
Damjan Jovanovic 06de0195d0 kernel32: Stop CopyFile from overwriting a file with itself. 2010-06-16 19:38:58 +02:00
Damjan Jovanovic 6e5a22c733 kernel32: Add a CopyFile test. 2010-06-15 18:29:07 +02:00
Damjan Jovanovic 44aa45036b kernel32: Revert 3f1404bf29 and add better CopyFile tests. 2010-06-14 14:14:16 +02:00
Damjan Jovanovic 3f1404bf29 kernel32: CopyFile cannot overwrite a file with itself. 2010-06-11 11:36:42 +02:00
Alexandre Julliard fbbac38e4e kernel32/tests: Fix broken usage of the ok() macro return value.
Spotted by Yann Droneaud.
2010-02-24 16:47:48 +01:00
Nikolay Sivov 8b805e48fb kernel32/tests: Fix LocalAlloc() allocated leaks. 2009-12-21 15:36:52 +01:00
Nikolay Sivov f33db8a02d kernel32/tests: Fix some find handle leaks. 2009-12-21 15:36:52 +01:00
Nicolas Le Cam 7ae21483ec kernel32/tests: Simplify dumpmem function. 2009-12-21 15:01:25 +01:00
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
Mikolaj Zalewski 25e15ddb51 kernel32: FindExSearchLimitToDirectories has no effect on FindFirstFileEx. 2007-10-19 12:26:49 +02:00
Alexandre Julliard 35ef5df76c kernel32: Rewrite GetOverlappedResult for the new async I/O behavior. 2007-06-04 23:03:15 +02:00
Jason Edmeades 9d00aeafd7 kernel32/tests: Show wrong behaviour with current directory. 2007-03-05 12:59:19 +01:00
Dmitry Timoshkov 67568764e5 kernel32: Print more information about the reason of a test failure. 2007-01-08 12:52:52 +01:00
Dmitry Timoshkov 1e7ba7c2ce kernel32: Fix the file sharing test to pass cleanly under XP and Win9x. 2007-01-08 12:52:46 +01:00
Francois Gouget 9299c4985e kernel32/tests: Replace some '#if 0's with 'if (0)'s.
Fix the code so it compiles without warnings.
2007-01-08 12:09:07 +01:00
Alexandre Julliard 7cd9400b80 kernel32/tests: Added test case for . and .. directory entries. 2006-12-01 13:11:53 +01:00
Alexandre Julliard 98a3912e9f kernel32: Fixed behavior of FindFirstFile for DOS devices. 2006-10-31 12:05:19 +01:00
Michael Stefaniuc 8218440c20 kernel32/tests: Win64 printf format warning fixes. 2006-10-10 16:11:27 +02:00
Alexandre Julliard 489d87d1e5 kernel32: Renamed the kernel directory to kernel32.
Also get rid of the kernel/messages subdirectory.
2006-09-12 13:34:06 +02:00