Commit Graph

566 Commits

Author SHA1 Message Date
Nikolay Sivov 146ff49161 ntdll: Support pinning module refcount with LdrAddRefDll(). 2013-10-14 10:49:44 +02:00
Dmitry Timoshkov 49d0e64f88 kernel32: The return and last error values set by ReadFile on EOF depend on whether overlapped pointer was passed in. 2013-10-11 12:45:06 +02:00
Dmitry Timoshkov fa2ca8f6b4 ntdll/tests: Add more tests for reading beyond EOF. 2013-10-11 12:45:06 +02:00
Dmitry Timoshkov 3cae528eef ntdll: Offset -1 (FILE_WRITE_TO_END_OF_FILE) is supposed to work in NtWriteFile for disk files in overlapped mode. 2013-10-09 16:11:33 +02:00
Dmitry Timoshkov 1670c7f9a6 ntdll/tests: Accept previously declared behaviour of overlapped IO as broken.
It highly depends on Windows version and updates/SP installed.
2013-10-07 14:44:35 +02:00
Dmitry Timoshkov aa8546ecc2 ntdll: Add support for FILE_APPEND_DATA to NtWriteFile. 2013-10-07 14:44:35 +02:00
Dmitry Timoshkov ae3c49d841 ntdll/tests: Add a test for file position after NtWriteFile in FILE_APPEND_DATA mode. 2013-10-07 14:44:35 +02:00
Michael Stefaniuc 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +02:00
Nikolay Sivov 437c84655a ntdll/tests: Add proper skips in tests. 2013-09-27 10:42:12 +02:00
Dmitry Timoshkov 4544826291 ntdll/tests: Use official path for temporary files instead of current directory. 2013-09-24 20:42:35 +02:00
Dmitry Timoshkov ab8d704e24 ntdll/tests: Extend the FILE_APPEND_DATA test. 2013-09-23 11:49:55 +02:00
Dmitry Timoshkov b4ab43b3de kernel32: Remove a 0-length read optimization from ReadFile. 2013-09-20 11:11:47 +02:00
Dmitry Timoshkov d6900fc556 ntdll/tests: Add 0-length read tests for a disk file. 2013-09-20 11:11:00 +02:00
Dmitry Timoshkov 9e50cc540a ntdll: NtWriteFile should fail for overlapped IO on files if offset is negative. 2013-09-13 10:56:10 +02:00
Dmitry Timoshkov ea7f9737bd ntdll: Add support to NtWriteFile for special offset -1. 2013-09-11 20:33:22 +02:00
Thomas Faber d518ce7ea2 ntdll/tests: Use correct prototype for RtlCreateUnicodeString[FromAsciiz]. 2013-09-11 16:08:09 +02:00
Dmitry Timoshkov a4ec059354 ntdll/tests: Add some tests for negative file offsets. 2013-09-06 12:03:55 +02:00
Dmitry Timoshkov d37fac0519 ntdll: NtWriteFile should fail for overlapped IO on files if offset is NULL. 2013-09-04 17:56:50 +02:00
Alexandre Julliard af89610364 kernel32/tests: Add more tests for the InitOnce functions. 2013-08-28 16:14:34 +02:00
Alexandre Julliard 54017b0fac ntdll/tests: Add a number of tests for keyed events. 2013-08-28 11:04:06 +02:00
Andrew Cook cdfee68be1 ntdll: Implement NtQueryEvent. 2013-08-26 14:27:56 +02:00
Dmitry Timoshkov 0b4c9cb533 server: Store full-sized completion information on the server side. 2013-08-23 20:15:43 +02:00
Dmitry Timoshkov 42cad0ebb1 ntdll/tests: Use WAIT_OBJECT_0 instead of 0. 2013-08-23 10:42:39 +02:00
Dmitry Timoshkov b126d7c7ce ntdll/tests: Fix one more place regarding temp path usage. 2013-08-23 10:42:36 +02:00
Dmitry Timoshkov 8eb9ffb3fa ntdll/tests: Mark the NtReadFile call which doesn't return STATUS_PENDING for an overlapped IO call as broken, and don't test returned values in broken case. 2013-08-23 10:42:21 +02:00
Dmitry Timoshkov 49e31d29ca ntdll/tests: Add some tests for FILE_USE_FILE_POINTER_POSITION. 2013-08-23 10:42:16 +02:00
Dmitry Timoshkov aa14c2daa5 ntdll/tests: Add the tests for some error cases. 2013-08-21 13:08:35 +02:00
Dmitry Timoshkov 8ec8d70ada ntdll/tests: Use NtWriteFile instead of WriteFile in order to detect broken overlapped IO implementation. 2013-08-21 13:08:35 +02:00
Dmitry Timoshkov b45ec4607b ntdll/tests: Fix the typos. 2013-08-21 13:08:35 +02:00
Dmitry Timoshkov fbe4012eaf ntdll/tests: Add a bunch of overlapped IO tests for files. 2013-08-20 20:52:18 +02:00
Dmitry Timoshkov fca3231914 ntdll/tests: Use official path for temporary files instead of current directory. 2013-08-20 20:52:18 +02:00
Dmitry Timoshkov 87db683aad ntdll/tests: Check WriteFile return values. 2013-08-20 20:52:18 +02:00
Dmitry Timoshkov 7cab2e99c3 ntdll: Last parameter of NtSetIoCompletion is 64-bit on 64-bit platforms. 2013-08-20 20:52:18 +02:00
Francois Gouget 1dbc3d0924 ntdll/tests: Add a trailing '\n' to an ok() call. 2013-08-19 12:53:20 +02:00
Andrey Turkin 2df4caa6a1 ntdll/tests: Test FileDispositionInformation file class. 2013-08-16 11:55:23 +02:00
Nikolay Sivov 9e5097187e ntdll: Implement RtlHashUnicodeString(). 2013-07-24 14:35:09 -05:00
Nikolay Sivov 7e136d68f7 ntdll/tests: Properly skip on missing functions. 2013-07-22 19:31:28 +02:00
Nikolay Sivov 173b834b4a ntdll/tests: Tests for RtlHashUnicodeString(). 2013-07-19 11:56:37 +02:00
Alexandre Julliard 4142fc9b52 ntdll/tests: Don't test . and .. masks, they don't work on Windows. 2013-07-02 10:03:50 +02:00
Alexandre Julliard 641e1bee02 ntdll/tests: Add some tests for NtQueryDirectoryFile with a non-wildcard mask. 2013-07-01 19:51:21 +02:00
André Hentschel d53a55ea88 ntdll: Improve stub for FileFsAttributeInformation in NtQueryVolumeInformationFile. 2013-03-26 16:36:42 +01:00
Detlef Riekenberg 3e162934d1 ntdll/tests: Fix SYSTEM_CACHE_INFORMATION failures. 2013-01-17 12:18:54 +01:00
André Hentschel 7f74df0224 ntdll/tests: Fix check for PAGE_READWRITE. 2012-12-03 18:24:39 +01:00
Akihiro Sagawa bb4a31a8ed ntdll: Calculate SystemProcessInformation's ReturnLength and return it. 2012-10-24 14:19:47 +02:00
Akihiro Sagawa 3fc4e88473 ntdll: Add ReturnLength test for NtQuerySystemInformation with SystemProcessInformation. 2012-10-24 14:19:35 +02:00
André Hentschel 48ce2cc282 ntdll/tests: Remove duplicate function prototypes (coverity). 2012-10-24 11:31:04 +02:00
Alexandre Julliard be2b45ce0a ntdll/tests: Fix some test failures on Windows. 2012-10-12 11:47:01 +02:00
André Hentschel 0da26cfc4c ntdll/tests: Fix test failure on win8. 2012-09-25 11:19:35 +02:00
Francois Gouget 709a0b764d Use the CP_ACP and NULL macros instead of numeric literals when converting strings between ANSI and Unicode. 2012-09-24 22:27:28 +02:00
Michael Stefaniuc dfd4191de4 ntdll/tests: Fix a memory leak (Smatch). 2012-09-17 12:05:48 +02:00