Commit Graph

529 Commits

Author SHA1 Message Date
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
Francois Gouget 7c5df85f51 ntdll/tests: Add a trailing '\n' to an ok() call. 2009-10-07 15:17:04 +02:00
Ge van Geldorp 9925991bf3 ntdll/tests: Fix atom tests on Win7. 2009-10-06 11:59:45 +02:00
Juan Lang bfb4578356 server: A thread's affinity is restricted to the process affinity. 2009-10-01 11:33:33 +02:00
Juan Lang 24036fe13a server: Setting a process's affinity sets all of its threads' affinities too. 2009-09-30 14:34:32 +02:00
Dan Kegel ceb8577bab ntdll: Refactor test_NtQueryDirectoryFile to be table driven, check DIRECTORY attribute. 2009-09-30 14:34:29 +02:00
Alexandre Julliard 2e8de49ee1 ntdll/tests: Retrieve the number of processors through GetSystemInfo. 2009-09-30 14:31:57 +02:00
Juan Lang 2e92c726aa ntdll: Don't allow setting a zero thread affinity. 2009-09-29 13:29:43 +02:00
Juan Lang c7b1423521 ntdll: Don't allow setting a zero process affinity. 2009-09-29 13:29:36 +02:00
Juan Lang d9ce24e6cb ntdll/tests: Add tests for process and thread affinity. 2009-09-29 13:29:28 +02:00
Dan Kegel 46187dd609 ntdll: Fix NtQueryInformationFile test failures on Vista Home Basic. 2009-09-25 13:51:03 +02:00
Dan Kegel fa12f03976 ntdll: Add initial test for NtQueryDirectoryFile(). 2009-09-25 13:50:54 +02:00
Paul Vriens 4e6db1e186 ntdll/tests: Fix some test failures on several platforms. 2009-09-11 17:00:59 +02:00
Dmitry Timoshkov 049bbe3f12 ntdll: RtlpNtQueryValueKey takes 5 parameters. 2009-09-11 12:16:37 +02:00
Dan Kegel 398a8ea1fe ntdll: Add tests for NtQueryInformationFile. 2009-09-10 10:49:22 +02:00
Austin English e88e2239aa ntdll/tests: Fix a compiler warning on PowerPC. 2009-08-31 12:19:04 +02:00
Alexandre Julliard 86e4830040 ntdll/tests: Make sure buffer alignment is correct. 2009-08-26 11:52:56 +02:00
Ge van Geldorp cf5e2938a9 ntdll/tests: Pass properly aligned buffers. 2009-08-25 10:23:42 +02:00
Ge van Geldorp 98fdb660be ntdll/tests: Add acceptable status codes for Win7. 2009-08-24 16:41:31 +02:00
Ge van Geldorp 4bc7a3eb92 ntdll/tests: Fix info tests on Win7. 2009-08-24 16:41:26 +02:00
Mike Kaplinskiy 8c0eec2c6b ntdll/tests: Test NtCancelIoFile(Ex). 2009-08-18 12:29:53 +02:00
Mike Kaplinskiy af25949a51 ntdll: Implement NtCancelIoFileEx and fix NtCancelIoFile. 2009-08-18 12:29:27 +02:00
Michael Karcher ca4c571818 ntdll: Add handing of MEM_EXECUTE_OPTION_PERMANENT. 2009-08-18 11:19:55 +02:00
Michael Karcher 9476071fd2 ntdll: Don't send EXCEPTION_EXECUTE_FAULT to Windows programs that didn't enable DEP. 2009-08-18 11:19:46 +02:00
Michael Karcher 7aa1f6c346 ntdll: Add ProcessExecuteFlags handling to NtQueryInformationProcess. 2009-08-18 11:17:44 +02:00
Michael Karcher c3c712c17f ntdll/tests: Implement tests for data execution prevention. 2009-08-14 11:27:23 +02:00
Mike Kaplinskiy b9c3e9310a ntdll/tests: Fix NtWriteFile checks. 2009-08-11 12:31:06 +02:00
Mike Kaplinskiy ebc7c138e7 ntdll/tests: Test NtCancelIoFileEx, if present. 2009-08-10 13:10:37 +02:00
Francois Gouget ac831d5ab5 ntdll/tests: Fix the trailing '\n' of a skip() call. 2009-06-03 11:25:58 +02:00
Alexandre Julliard 6c35e3f47c ntdll: Add test cases for the returned frame value in RtlVirtualUnwind. 2009-05-20 13:33:32 +02:00
Alexandre Julliard 1d4747c35f ntdll: Add support for some function epilogs in RtlVirtualUnwind. 2009-05-20 13:32:47 +02:00
Alexandre Julliard fb819d6491 ntdll/tests: Add more tests for RtlVirtualUnwind. 2009-05-20 12:21:07 +02:00
Huw Davies fd0e796919 ntdll/tests: Mark RtlUnicodeStringToInteger("", 16) as broken for nt4. 2009-05-19 16:17:57 +02:00
Alexandre Julliard 8c017aafbd ntdll/tests: Added some test cases for RtlVirtualUnwind. 2009-05-18 12:11:53 +02:00
Francois Gouget d6a9082dc4 ntdll/tests: Replace malloc() with HeapAlloc(). 2009-05-13 12:45:36 +02:00
Alexandre Julliard 82fb611806 ntdll: Fix the LPC_MESSAGE structure definition for 64-bit. 2009-05-07 14:44:22 +02:00
Alexandre Julliard b46be0be7d winapi: Handle types should be treated as pointers. 2009-05-06 13:44:54 +02:00
Alexandre Julliard 7f9750550a ntdll: Set the exception address to the program counter in RtlRaiseException. 2009-04-10 13:17:12 +02:00
Alexandre Julliard c709adcf16 ntdll: Update the context on send_debug_event for any successful status. 2009-04-10 12:37:22 +02:00
Alexandre Julliard b4a962bbb2 ntdll/tests: Add a missing \n. 2009-04-06 13:52:08 +02:00
Mikołaj Zalewski 9c9532265d kernel32: Implement QueryFullProcessImageFileNameW. 2009-03-31 18:05:55 +02:00
Michael Stefaniuc d2f6f56873 ntdll: Remove superfluous pointer casts. 2009-03-23 12:40:53 +01:00
Alexandre Julliard 44d2277acd ntdll/tests: Create the server port before starting the client thread.
Print status values in hex.
2009-03-05 23:19:08 +01:00
Francois Gouget 630d92b947 ntdll/tests: Use win_skip() to skip over unimplemented functionality. 2009-02-23 12:21:35 +01:00
Alexandre Julliard c1a8484089 ntdll/tests: Don't pass uninitialized object attributes to symlink functions. 2009-02-17 12:46:44 +01:00
Francois Gouget ede6196467 ntdll/tests: Remove WINAPI on static functions where not needed. 2009-02-12 17:53:35 +01:00
Alexandre Julliard e887b39472 ntdll/tests: Add a couple of status values seen on Win2K3. 2009-01-29 22:08:54 +01:00
Alexandre Julliard d637a552c0 ntdll/tests: Fix a long long format in a trace. 2009-01-08 13:05:38 +01:00
Alexandre Julliard 6500bb0e50 ntdll/tests: Avoid printing pointer differences in traces. 2009-01-08 13:02:23 +01:00
Francois Gouget 581e390115 winapi_test: The tests don't support WIN64 yet so disable them there. 2009-01-08 12:47:22 +01:00
Francois Gouget 411f5d22c0 winapi_test: The real tests are done at compile time so use C_ASSERT() instead of ok(). Do only one test per line so one can know exactly what went wrong. 2009-01-08 12:46:39 +01:00
Francois Gouget 9f62c9b7a8 winapi_test: Fix TEST_FIELD() so it correctly tests the field size. 2009-01-08 12:44:49 +01:00
Francois Gouget 43c18c1321 winapi_test: FIELD_ALIGNMENT() is redundant so remove it. 2009-01-08 12:43:15 +01:00
Francois Gouget 2e668d2572 winapi_test: Updated so the generated tests work. 2009-01-08 12:42:12 +01:00
Henri Verbeet 0b511b9ad8 ntdll: Add a small test for FPU exceptions. 2009-01-05 12:34:46 +01:00
Alexandre Julliard b84fda836e ntdll/tests: Avoid long long printf formats in traces. 2009-01-03 20:25:19 +01:00
Alexandre Julliard 90541731aa ntdll/tests: Fix pointer casting warnings on 64-bit. 2009-01-03 20:14:01 +01:00
Alexandre Julliard 6a548b1e9d ntdll: Fix the various structures returned by NtQuerySystemInformation for 64-bit. 2009-01-03 14:55:32 +01:00
Alexandre Julliard 3cbf55cc1e ntdll/tests: Skip large integer tests that crash on 64-bit Vista. 2009-01-03 14:55:32 +01:00
Francois Gouget e9e8fbd0ef ntdll/tests: Make rtlraiseexception_vectored_handler() static. 2008-12-12 11:42:23 +01:00
Alexandre Julliard 2e83689b77 ntdll/tests: Use the correct prototype for RtlAllocateHeap/RtlReAllocateHeap. 2008-12-04 12:14:17 +01:00
Paul Vriens b27a1bbdc7 ntdll/tests: Fix a test failure on W2K. 2008-12-02 14:05:49 +01:00
Jeff Zaroyko 6c597bac2e ntdll: Avoid NULL deref in RtlDeleteTimer. 2008-12-01 14:22:12 +01:00
Francois Gouget 9eb62d3f9d ntdll: Remove an unneeded cast. 2008-12-01 12:57:32 +01:00
Francois Gouget b0cf129c98 ntdll/tests: Remove a redundant 'if'. 2008-11-21 10:01:07 +01:00
Francois Gouget 500be1e8db ntdll/tests: Test how NT(Set, Query)ValueKey() handle non-terminated strings. 2008-11-19 12:08:13 +01:00
Francois Gouget d7d95ca27c ntdll/tests: Fix typos in test_NtQueryValueKey(). 2008-11-19 12:08:04 +01:00
Alexandre Julliard af601ff2b5 ntdll/tests: Fixed more object manager tests on Vista. 2008-11-11 21:22:35 +01:00
Alexandre Julliard f96670cb5f ntdll: Add support for root directory in NtCreateFile for Win32 file objects. 2008-11-11 11:40:08 +01:00
Alexandre Julliard 66d893b0f9 ntdll/tests: Fix a couple of test failures on Vista. 2008-11-11 11:39:31 +01:00