Commit Graph

598 Commits

Author SHA1 Message Date
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
Alexandre Julliard f712af41f5 ntdll/tests: Add a test for the exception resulting from an icebp instruction. 2010-06-30 11:55:32 +02:00
Alexandre Julliard 0fdcab06ac ntdll/tests: Fix some exception tests for Wow64. 2010-06-22 13:51:18 +02:00
Andrew Nguyen bdf583b349 ntdll/tests: Add tests to examine output file part pointer behavior for RtlGetFullPathName_U. 2010-06-17 11:48:37 +02:00
Marcus Meissner 34d17c9ea1 ntdll: qsort: comparator must not get the same pointer. 2010-05-24 11:27:25 +02:00
Hans Leidekker d1c8769b64 ntdll: Add some tests for RtlIsTextUnicode. 2010-05-14 18:03:03 +02:00
Marcus Meissner 2ecd1dfaba ntdll: Implement bsearch, lfind to use correct comparator functions. 2010-05-13 11:50:51 +02:00
Marcus Meissner 7642e03c63 ntdll: Reimplement qsort() using generic mergesort. 2010-05-11 11:27:03 +02:00
Gerald Pfeifer b8ee145992 ntdll/tests: Remove variable len which is not really used from create_file_test. 2010-05-05 10:52:30 +02:00
Michael Stefaniuc ed1711ec54 ntdll/tests: Avoid using the 'long' types. 2010-04-21 11:57:33 +02:00
Paul Vriens 42094d2598 ntdll/tests: Prevent test failures on Windows. 2010-04-12 15:38:51 +02:00
Paul Vriens a155cf5f35 ntdll/tests: We need a bigger buffer for NtQueryInformationFile. 2010-04-12 15:38:45 +02:00
Paul Vriens 3536770083 ntdll/tests: Enumerate one by one. 2010-04-12 15:38:36 +02:00
Paul Vriens 8b8d2038fb ntdll/tests: Make sure we can enumerate the directory. 2010-04-12 15:38:27 +02:00
Alexandre Julliard b141e6e33b winapi: Add a few more types to the ntdll generated tests. 2010-04-07 18:04:00 +02:00
Alexandre Julliard a8e86e35dd winapi: Generate the 64-bit variant of structure size/alignment tests. 2010-04-07 18:03:00 +02:00
Alexandre Julliard 29937272cb ntdll/tests: Skip a couple of exception tests that crash on Wow64. 2010-04-02 15:22:50 +02:00
Alexandre Julliard 71ce9dae67 ntdll/tests: Don't free a string that wasn't allocated. 2010-03-31 16:12:26 +02:00
Alexandre Julliard 9608085bf6 ntdll/tests: Port functions use the 64-bit structure on Wow64. 2010-03-31 16:12:26 +02:00
Alexandre Julliard b7b2a20aa2 ntdll/tests: Fix a number of test failures on Wow64. 2010-03-31 16:12:26 +02:00
André Hentschel 877a4e6136 ntdll: Update error code mapping. 2010-03-22 15:52:35 +01:00
André Hentschel 8a6d1df863 ntdll: Fix error strict mode tests on vista+. 2010-03-22 15:52:35 +01:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Henri Verbeet f0a5045254 ntdll: Improve support for the ProcessDebugPort info class in NtQueryInformationProcess(). 2010-03-15 15:56:42 +01:00
Alexandre Julliard 5e12f65a1a ntdll/tests: Add tests for HKLM\Software\Classes Wow64 sharing. 2010-03-04 21:49:14 +01:00
Alexandre Julliard ac08b038f0 server: Initial support for Wow64 registry redirection. 2010-03-02 12:03:17 +01:00
Alexandre Julliard ef4a9cadf5 ntdll/tests: Add tests showing that NtCreateKey is not recursive. 2010-03-01 14:24:05 +01:00
Alexandre Julliard 52a05108fe ntdll/tests: Add some test cases for Wow64 registry redirection. 2010-02-26 14:18:44 +01:00
Paul Vriens 563785dfc2 ntdll/tests: Fix a crash on some Vista boxes. 2010-02-24 16:05:54 +01:00
Stefan Leichter 324984ef02 ntdll/tests: Test NtCreateFile with an invalid filename. 2010-02-23 12:07:02 +01:00
Erich Hoover fda39b207c ntdll: Allow 'all processors' flag used in Vista and newer. 2010-02-22 11:57:08 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Alexandre Julliard 0e98500e43 ntdll: Fix the return value of NtOpenKey for some invalid parameters. 2010-02-16 14:32:26 +01:00
Alexandre Julliard 2530304f1c ntdll: Fix the return status of NtQueryValueKey for a too small buffer. 2010-02-16 14:28:41 +01:00
Alexandre Julliard b139b935c4 server: Implement registry symlinks. 2010-02-15 21:07:01 +01:00
Alexandre Julliard 2ec945d412 ntdll/tests: Add more tests for registry symlinks. 2010-02-15 21:03:14 +01:00
Alexandre Julliard 531daa04c2 ntdll/tests: Use correct access rights in the NtOpenKey test. 2010-02-15 12:20:18 +01:00
Dan Kegel 1aa3308fa5 ntdll: Fix leak in test_symlinks. 2010-02-15 12:19:15 +01:00
Alexandre Julliard ed0f34c6e3 ntdll/tests: Add tests for registry symlinks. 2010-02-12 16:39:26 +01:00
Alexandre Julliard 34b011c357 ntdll/tests: Test NtOpenKey with an existing key. 2010-02-12 16:34:55 +01:00
Alexandre Julliard 5f699c93c8 ntdll/tests: Fix a few function prototypes in the registry test. 2010-02-12 16:34:42 +01:00
Peter Rosin bdebad094c ntdll: Add RtlSetThreadErrorMode and RtlGetThreadErrorMode. 2010-02-03 11:37:59 +01:00
Peter Rosin 2cf159f612 ntdll: Add tests for RtlSetThreadErrorMode and RtlGetThreadErrorMode. 2010-02-03 11:36:59 +01:00
Andrew Nguyen 1cdf1cc07e ntdll/tests: Report appropriate skips for information tests. 2010-01-18 14:33:18 +01:00
Andrew Nguyen ab23f87bcc ntdll/tests: Re-enable a commented virtual memory test. 2010-01-18 14:32:54 +01:00
Andrew Nguyen bffdda5ab2 ntdll/tests: Report skip when time conversion functions are not available. 2010-01-18 14:32:49 +01:00
Andrew Nguyen 83dbc3d46a ntdll/tests: Remove useless ifdef statements. 2010-01-18 14:32:45 +01:00
Andrew Nguyen 063da0a183 ntdll/tests: Remove obsolete commented code. 2010-01-18 14:30:59 +01:00
Andrew Nguyen d7557a1926 ntdll/tests: Add a few additional tests for wcsrchr. 2010-01-14 10:05:06 -06:00
Andrew Nguyen dca1bd8633 ntdll/tests: Add a few additional tests for wcschr. 2010-01-14 10:04:58 -06:00
Andrew Nguyen d8ba75473a ntdll/tests: Allow native crashing code to be compiled. 2010-01-14 10:04:37 -06:00
Andrew Nguyen 3ed716f833 ntdll/tests: Make function pointer checks consistent and report skips. 2010-01-14 10:04:32 -06:00
Paul Vriens acfada959b ntdll/tests: Fix a test failure on NT4. 2010-01-11 11:28:41 -06:00
Alexandre Julliard 574eace36e ntdll: Return a correct name also for file objects in NtQueryObject. 2010-01-08 13:16:57 +01:00
Alexandre Julliard 658dae988d server: Add support for returning the object name in NtQueryObject. 2010-01-08 13:01:50 +01:00
Paul Vriens fa2ec0f06c ntdll/tests: Fix a memory leak (Valgrind). 2009-12-17 12:42:22 +01:00
Paul Vriens 8199784eaf ntdll/tests: Fix a test failure on NT4/W2K. 2009-12-16 16:05:46 +01:00
Marcus Meissner afd4aed5fc ntdll: Check for NULL attr in NtOpenKey (Coverity). 2009-12-15 16:09:11 +01:00
Alexandre Julliard 6509044087 ntdll: Search the whole filesystem under the starting directory when opening files by id. 2009-12-09 23:34:45 +01:00
Hans Leidekker 84bfbf2aa8 ntdll/tests: Free Unicode string before reuse. 2009-12-09 13:50:42 +01:00
Alexandre Julliard 70c20027a9 ntdll/tests: Avoid size_t in traces. 2009-12-09 12:19:48 +01:00
Huw Davies af0bb4a141 ntdll: Only free the string if the test succeeded. 2009-12-08 12:37:24 +01:00
Hans Leidekker fe8f5c2232 ntdll/tests: Fix a memory leak.
Found by Valgrind.
2009-12-08 12:37:17 +01:00
Alexandre Julliard 538c8bc5e8 ntdll/tests: Add tests for open directories with NtCreateFile and strange options. 2009-12-08 12:19:05 +01:00
Hans Leidekker 72e7e399d5 ntdll/tests: Fix a memory leak.
Found by Valgrind.
2009-12-07 14:18:29 +01:00
Huw Davies 1cc0dd5c57 ntdll: Fix a few memory leaks in tests.
Found by Valgrind.
2009-12-07 14:18:27 +01:00
Alexandre Julliard 3dd6c9a6fe ntdll/tests: Fix a few test failures on Windows in the open by id test. 2009-12-04 14:34:56 +01:00
Alexandre Julliard 8115c6243b ntdll/tests: Add some tests for opening files by file id. 2009-12-03 10:10:06 +01:00
Alexandre Julliard 7dc1c2af52 ntdll: Fix test failure on recent Windows versions. 2009-12-03 10:08:56 +01:00
Alexandre Julliard 84b309f309 ntdll/tests: Add tests for opening files with a root directory handle. 2009-12-01 17:38:44 +01:00
Henri Verbeet 64e6e956e5 ntdll/tests: Add some tests for FileAllInformation name information.
This is essentially a copy of test_file_name_information().
2009-12-01 13:15:36 +01:00
Henri Verbeet 893b338268 ntdll/tests: Add a FileNameInformation test with filesystem redirection. 2009-11-19 12:21:57 +01:00
Henri Verbeet 832aacd866 ntdll/tests: Disable filesystem redirection for test_file_name_information().
Otherwise we get the syswow64 directory instead on 64-bit Windows.
2009-11-19 12:21:49 +01:00
Detlef Riekenberg 447e224380 ntdll/tests: GetVolumePathnameW is not present before w2k. 2009-11-13 11:52:25 +01:00
Henri Verbeet 85d93d689e ntdll: Fix the FileNameInformation info size. 2009-11-12 15:44:15 +01:00
Henri Verbeet 4422e67126 ntdll/tests: Add some tests for the NtQueryInformationFile() FileNameInformation class. 2009-11-12 15:44:10 +01:00
Huw Davies 95c525e21b ntdll/tests: Fix spelling of succeeded. 2009-11-04 16:45:18 +01:00
Alexandre Julliard aadf703fc0 ntdll: The meaning of the flag is inverted between RtlWow64EnableFsRedirection and RtlWow64EnableFsRedirectionEx. 2009-10-28 10:55:19 +01:00
Francois Gouget 9b89b85e5f ntdll/tests: Fix compilation on systems that don't support nameless unions. 2009-10-19 14:45:15 +02:00
Ge van Geldorp bc6f37ac00 ntdll/tests: Fix exception test failure on Win7. 2009-10-07 15:20:10 +02:00