Commit Graph

577 Commits

Author SHA1 Message Date
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
James Eder fbd5a9aaff ntdll/tests: Add test for ProcessorInformation case of NtPowerInformation. 2012-09-13 16:55:33 +02:00
Piotr Caban 67920ea6dd ntdll/tests: Added basic NtQuerySystemInformation(SystemLogicalProcessorInformation) tests. 2012-09-04 16:15:55 +02:00
André Hentschel aac478f51b ntdll: Catch bad pointers in RtlWow64EnableFsRedirectionEx. 2012-08-22 12:11:19 +02:00
Thomas Faber a7e95a27fb ntdll/tests: Add test for RtlIpv4StringToAddress. 2012-07-10 11:17:30 -05:00
Gerald Pfeifer 80d078d071 ntdll: Omit unused typedef in test_query_process_basic. 2012-07-09 09:59:46 -04:00
Gerald Pfeifer 0016d8a2dd ntdll: Omit unused typedef in test_query_process. 2012-06-21 08:36:38 +02:00
Erich Hoover e7dbb212a2 server: Access the completion from the file descriptor instead of the async object. 2012-06-06 13:47:28 +02:00
Gerald Pfeifer 43923decba ntdll: Omit unused typedef in test_query_timeofday. 2012-06-05 19:58:12 +02:00
Detlef Riekenberg 0e235e5dc6 ntdll/tests: Add tests for NtGetCurrentProcessorNumber. 2012-05-21 11:33:40 +02:00
Michael Stefaniuc 6ea39eed8d ntdll/tests: Avoid casting zero. 2012-04-16 12:07:05 +02:00
Ken Thomases 97645d7a1a ntdll: Fix status returned for too-long registry value names. 2012-03-13 10:28:10 +01:00
André Hentschel 0fb4cba77f ntdll/tests: Fix some typos. 2012-02-13 18:37:35 +01:00
André Hentschel cc50de1156 ntdll/tests: Add optional return value for some win7 machines. 2012-01-03 19:25:44 +01:00
Francois Gouget 51a256e65f Assorted spelling fixes and wording tweaks. 2011-11-28 16:40:50 +01:00
Dmitry Timoshkov 277259157b ntdll: Change the virtual memory test to accept both READWRITE and WRITECOPY protections. 2011-11-23 14:14:17 +01:00
Frédéric Delanoy ea67d804f3 ntdll/tests: Avoid harcoding array lengths. 2011-11-21 11:05:00 +01:00
Alexandre Julliard 9801818ff4 ntdll/tests: Clear the full atom structure before every test. 2011-10-20 12:50:06 +02:00
Thomas Faber 385b8c3988 ntdll/tests: Fix build with MSVC. 2011-10-17 17:45:03 +02:00
Bernhard Loos cf14ccc886 ntdll/tests: FILE_OVERWRITE and FILE_OVERWRITE_IF aren't legal for NtCreateNamedPipeFile. 2011-10-13 19:57:19 +02:00
Bernhard Loos 07b681e04a ntdll: Implement the NamedPipeConfiguration value for the FilePipeLocalInformation class of NtQueryInformationFile. 2011-10-08 19:56:08 +02:00
Bernhard Loos 9034e694a3 server: Correctly implement permission checking for named pipes. 2011-10-08 19:55:35 +02:00
Bernhard Loos e4c2a6d1cd server: It's possible to call NtQueryInformationFile on a pipe if it was opened with access 0. 2011-10-08 19:55:19 +02:00
Bernhard Loos bded698462 server: Sharing 0 is not allowed for named pipes. 2011-09-27 16:54:00 +02:00
André Hentschel 55542281f5 ntdll/tests: Don't test function directly when reporting GetLastError(). 2011-09-26 18:16:13 +02:00
Francois Gouget 344ef82b68 ntdll/tests: Skip some tests if not allowed to modify image file execution options. 2011-09-19 17:56:04 +02:00
Frédéric Delanoy a5229fc51f ntdll: Add NtCreateFile tests for invalid chars in file/dir name. 2011-09-12 16:49:56 +02:00
André Hentschel ca8d7652f6 ntdll/tests: Tests for _wcslwr and _wcsupr. 2011-09-08 11:17:09 +02:00
André Hentschel 94a9db6383 ntdll/tests: Run the execution test only on x86 platforms. 2011-09-08 11:13:36 +02:00
Alexandre Julliard bfb98ace57 ntdll/tests: Wait for async I/O to complete when the result is STATUS_PENDING. 2011-08-26 11:59:49 +02:00
Francois Gouget 5197ab4e52 ntdll/tests: Fix the spelling of IID_Endianness. 2011-08-24 19:07:45 +02:00
Grazvydas Ignotas 006413afe4 ntdll: Use swapping method to return . and .. as first entries. 2011-08-24 13:56:37 +02:00
Grazvydas Ignotas fbf537fb60 ntdll/tests: Test NtQueryDirectoryFile with different ReturnSingleEntry and RestartScan flags. 2011-08-24 13:54:41 +02:00
Frédéric Delanoy 760faf01a9 tests: Assorted spelling fixes. 2011-08-04 18:27:37 +02:00
Francois Gouget 209acc5c89 ntdll/tests: Fix compilation on systems that don't support nameless unions. 2011-08-01 11:04:48 +02:00
Bernhard Loos e0f54d1b20 ntdll/tests: Add a number of named pipe tests using the nt api and ioctls. 2011-07-27 17:04:57 +02:00
Austin English 5a56fba741 ntdll/tests: Remove a dead assignment (LLVM/Clang). 2011-07-26 10:20:55 +02:00
Bernhard Loos 070cbfc412 ntdll/tests: Add a test for STATUS_OBJECT_TYPE_MISMATCH. 2011-07-20 19:23:04 +02:00
Grazvydas Ignotas 5ae558bac7 ntdll/tests: Test NtQueryDirectoryFile with RestartScan set to FALSE. 2011-07-19 18:26:22 +02:00
Grazvydas Ignotas 2cc56f379c server: Set debug enable bits briefly to commit the addresses to kernel. 2011-07-18 16:23:30 +02:00
Grazvydas Ignotas fa179b1c26 server: Set RW and LEN bits of DR7 before setting DR0-DR3. 2011-07-18 16:23:30 +02:00
Grazvydas Ignotas 382d953872 ntdll/tests: Add more debug register tests. 2011-07-18 16:23:30 +02:00
Austin Lund 55946e3cce ntdll/tests: Added tests for ObjectTypeInformation class in NtQueryObject. 2011-07-07 14:46:15 +02:00
Dmitry Timoshkov f834d23197 server: FILE_OVERWRITE and FILE_OVERWRITE_IF need the FILE_WRITE_ATTRIBUTES permission. 2011-03-30 15:10:20 +02:00
Dmitry Timoshkov 0cc619ccc5 ntdll: Add more NtCreateFile tests. 2011-03-30 15:10:12 +02:00
Steven Wallace b3369e06c7 ntdll: implemented ProcessDebugFlags in NtQueryInformationProcess. 2011-03-30 15:10:01 +02:00
Dmitry Timoshkov 3998820497 ntdll: Add a bunch of NtCreateFile tests. 2011-03-29 12:21:32 +02:00
Dmitry Timoshkov bfd69719a6 ntdll: Use an NtWriteFile pointer instead of a static import. 2011-03-28 17:08:53 +02:00
Austin English fe9544abd2 ntdll/tests: Make sure return values are used (LLVM/Clang). 2011-02-14 13:33:33 +01:00
Austin English c57c9ce3d1 ntdll/tests: Don't check return values inside of if(0) (LLVM/Clang). 2011-02-14 13:33:32 +01:00
Austin English 39ef0b9d12 ntdll/tests: Make sure a return value is used (LLVM/Clang). 2011-02-11 14:50:17 +01:00
Austin English c549e34255 ntdll/tests: Make sure return value is used (LLVM/Clang). 2011-02-10 10:27:59 -06:00
Austin English 3dd514cee7 ntdll/tests: Make sure return values are used (LLVM/Clang). 2011-02-08 13:42:14 -06:00
Andrew Nguyen f7385699a9 ntdll/tests: Avoid casting away const in comparison functions. 2011-02-01 12:38:57 +01:00
Alexandre Julliard 852d9675bc ntdll/tests: Avoid sizeof in a trace. 2011-01-31 15:36:32 +01:00
Francois Gouget 2df9129c52 ntdll/tests: Fix compilation on systems that don't support nameless unions. 2011-01-17 12:51:15 +01:00
Matteo Bruni eb11dee4fc ntdll/tests: Add a FILE_APPEND_DATA test. 2011-01-12 18:12:48 +01:00
André Hentschel ba1f962d10 ntdll/tests: Don't test function directly when reporting GetLastError(). 2010-12-29 11:59:33 +01:00
Greg Geldorp 3e6d91280d ntdll/tests: Add alternative results for overlong instructions. 2010-12-22 14:30:37 +01:00
André Hentschel 74fecb3513 ntdll: Fix test failure on some NT4 machines. 2010-12-13 17:30:44 +01:00
Francois Gouget 036909e838 ntdll/tests: Add a trailing '\n' to an ok() call. 2010-12-03 16:08:25 +01:00
Gerald Pfeifer 8c7164603f ntdll/tests: Remove unused variable from test_query_volume_information_file. 2010-11-24 12:07:04 +01:00
Louis Lenders 5eac14f11c ntdll/tests: Add tests for NtQueryVolumeInformationFile with FileFsVolumeInformation class. 2010-11-23 14:19:08 +01:00
Marcus Meissner da8c179d61 ntdll: Fixed file view mapping in regards to no-exec. 2010-11-15 13:20:09 +01:00
André Hentschel 574a21cc14 ntdll/tests: Fix crash in japanese and chinese test. 2010-11-11 12:22:08 +01:00
Marcus Meissner 2e7dc35786 ntdll: Check and fix PE header protections. 2010-11-08 18:12:57 +01:00
Alexandre Julliard 4a1379d804 include: The FLOATING_SAVE_AREA type is i386-specific. 2010-10-20 18:37:09 +02:00
Stefan Oberhumer 024530133c ntdll/tests: Add some more tests for qsort(). 2010-10-05 15:16:39 +02:00
Alexandre Julliard be94563670 ntdll/tests: Make some variables static. 2010-10-01 13:37:03 +02:00
Alexandre Julliard 7a151d5e3e ntdll/tests: Fix a test failure on 64-bit platforms. 2010-09-30 11:19:31 +02:00
Peter Oberndorfer 9c2203123d ntdll/tests: Remove unused NtWaitForSingleObject import. 2010-09-22 19:57:37 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Alexandre Julliard e317b6068e ntdll/tests: Fix the image protection test on Mac OS where the image limits are only approximative. 2010-09-15 11:28:54 -05:00
Henri Verbeet 689c45b9b9 ntdll: Do not return STATUS_SUCCESS on failure in NtQueryObject(). 2010-09-15 10:32:55 -05:00
Alexandre Julliard 8e2e95ed7e ntdll/tests: Add a test for the protection state of the read-write data section. 2010-08-26 18:05:55 +02:00
Marcus Meissner 2ca5513a62 ntdll: Set correct protection flags on sections in builtin DLLs. 2010-08-24 17:22:32 +02:00
Detlef Riekenberg 0fa0d17d67 ntdll/tests: Add tests for RtlIpv4AddressToString / RtlIpv4AddressToStringEx. 2010-08-20 13:21:35 +02:00
Jacek Caban 9713d62e89 ntdll: IMAGE_REL_BASED_HIGH, IMAGE_REL_BASED_LOW and IMAGE_REL_BASED_HIGHLOW should be supported on win64. 2010-08-20 13:21:27 +02:00
André Hentschel 40bc5f646f ntdll: Add more error codes. 2010-08-17 11:55:39 +02:00
André Hentschel 38ca35fe57 ntdll: Add SXS error codes. 2010-08-04 12:13:50 +02:00
Andrey Turkin fc4d5393a5 ntdll/tests: Do not check signedness for char types. 2010-08-02 12:55:21 +02:00
Reece Dunn fd66d61861 ntdll/tests: check io.Status in the file tests. 2010-07-28 16:28:21 +02:00
Andrew Nguyen d7956bab54 ntdll: Fix the status code for ProcessDebugObjectHandle class in NtQueryInformationProcess when the debugger is absent. 2010-07-28 16:28:19 +02:00
Michael Stefaniuc 76c06a6d94 ntdll: Use IsEqualGUID instead of memcmp to compare GUIDs. 2010-07-28 12:22:26 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
André Hentschel 10e1387f61 ntdll: Add LDT error codes. 2010-07-21 09:33:27 +02:00
Marcus Meissner c7bbf3652e ntdll: Handle error cases in om test (Coverity). 2010-07-09 13:34:36 +02:00
Alexandre Julliard 604f79dbdb ntdll/tests: Fix a few test failures in the new exe protection tests. 2010-07-06 19:28:27 +02:00
Marcus Meissner 917089a954 ntdll: Add tests for NtQueryVirtualMemory. 2010-07-05 13:24:17 +02:00
Alexandre Julliard 929ba3f11d ntdll/tests: Add some tests for NtQuerySymbolicLinkObject. 2010-06-30 16:11:55 +02:00