Commit Graph

99 Commits

Author SHA1 Message Date
Alexandre Julliard 6f0979b983 ntdll: Implement the SectionImageInformation class of NtQuerySection.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-26 20:33:16 +09:00
Alexandre Julliard 2602df14d8 ntdll: Implement the SectionBasicInformation class of NtQuerySection.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-26 20:32:10 +09:00
Sebastian Lackner 648cbf63c0 kernel32/tests: Add a test for sorting of InMemoryOrderModuleList.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-07 21:23:26 +09:00
Nikolay Sivov a0ec5fecd0 kernel32/tests: Use todo_wine_if() in tests.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-16 12:09:37 +09:00
Dmitry Timoshkov e67a00b466 ntdll: Separate image relocation from NtMapViewOfSection. 2015-08-18 19:56:48 +09:00
Francois Gouget f8a7d6ed74 Assorted spelling fixes. 2015-08-07 23:50:48 +09:00
Dmitry Timoshkov 38649f2060 kernel32/tests: Add a loader test using minimal PE image that Windows7 is able to load. 2015-07-13 22:08:30 +09:00
Dmitry Timoshkov edc0fa74a3 kernel32: Fix compilation of loader tests with PSDK. 2015-07-13 22:08:26 +09:00
Francois Gouget 5ea2bdda5d kernel32/tests: Silence some loader and locale traces that generate too many lines. 2015-05-11 15:19:05 +09:00
Nikolay Sivov d1243bcc85 kernel32/tests: Remove a couple of duplicated constants. 2015-02-03 20:52:51 +09:00
Nikolay Sivov 8f2b5653a7 kernel32/tests: Remove todo_wine that doesn't work anymore. 2015-01-28 21:29:57 +01:00
Nikolay Sivov f670be8ec8 kernel32/tests: Make loader tests independent from each other. 2015-01-28 21:29:53 +01:00
Nikolay Sivov 5a8d73283c ntdll: Fix LdrLockLoaderLock()/LdrUnlockLoaderLock() on 64bit. 2014-06-11 13:05:39 +02:00
Alexandre Julliard ff08cd597d ntdll: Only allocate TLS data when resolving imports. 2014-02-17 20:16:08 +01:00
Alexandre Julliard 0f0bf58663 ntdll: Don't fixup imports for executables. 2014-02-17 20:15:44 +01:00
Alexandre Julliard 7307298ac3 ntdll: Don't fixup imports when a dll is already loaded. 2014-02-17 20:15:43 +01:00
Alexandre Julliard a4c8943c70 kernel32/tests: Add some tests for dll import resolution. 2014-02-17 19:10:07 +01:00
Dmitry Timoshkov 52bc06af7b kernel32/tests: Use PROCESS_ALL_ACCESS definition compatible with versions of Windows before Vista. 2014-02-07 16:28:55 +01:00
Frédéric Delanoy cb167e8e18 kernel32/tests: Remove unused variable. 2014-02-04 11:21:42 +01:00
Alexandre Julliard e8eb781327 server: Check PE file architecture at mapping creation time. 2013-11-21 19:39:02 +01:00
Alexandre Julliard 55eb7e56e8 kernel32/tests: Add some tests for invalid image section mappings. 2013-11-21 19:39:02 +01:00
Alexandre Julliard 70d490aa3d kernel32/tests: Add a helper function for creating a test dll. 2013-11-21 19:39:02 +01:00
Alexandre Julliard 3dc1f20f03 kernel32/tests: Make the page size a global variable. 2013-11-21 19:39:02 +01:00
André Hentschel c6f70ca853 kernel32/tests: Improved tests for the ResolveDelayLoadedAPI callback. 2013-11-12 12:57:54 +01:00
André Hentschel cb1806db26 kernel32/tests: Test ResolveDelayLoadedAPI with generated dll. 2013-11-04 19:15:43 +01:00
Dmitry Timoshkov ddb6632155 kernel32/tests: Fix PE loader tests compilation with __WINESRC__ defined. 2013-10-17 20:29:28 +02:00
Michael Stefaniuc 9463dba830 tests: Use the explicit LoadLibraryA function. 2013-10-02 11:02:21 +02:00
André Hentschel 21c3cfe541 kernel32/tests: Add tests for ResolveDelayLoadedAPI. 2013-09-12 11:06:42 +02:00
Alexandre Julliard b0153951f4 kernel32/tests: Increase some wait timeouts. 2013-08-27 21:29:57 +02:00
Dmitry Timoshkov 3d759a0c69 ntdll: NtAllocateVirtualMemory should fail to commit if an address range is already committed for a memory mapped file. 2013-07-19 14:40:17 +02:00
Dmitry Timoshkov e5c55c5a5a kernel32/tests: Add a test for VirtualAlloc called on a mapped PE section. 2013-06-24 23:11:03 +02:00
Dmitry Timoshkov bfcdf6df8e kernel32: Terminate threads before unloading DLLs on process exit. 2013-05-17 12:29:41 +02:00
Dmitry Timoshkov 462ad39949 kernel32: Add a test for holding process heap lock before calling ExitProcess. 2013-05-14 11:33:40 +02:00
Dmitry Timoshkov f435322dfa kernel32: Actually test normal ExitProcess behaviour. 2013-05-10 17:53:08 +02:00
Dmitry Timoshkov 5cbcbdd8a8 kernel32: Remove todo_wine from the now passing test. 2013-05-08 12:44:56 +02:00
Dmitry Timoshkov 94c7992f86 kernel32: DLL entry point is no longer called with PEB lock held. 2013-05-08 12:44:54 +02:00
Dmitry Timoshkov 094e465790 server: A destroyed process handle table means that the process is terminating. 2013-05-08 12:44:49 +02:00
Dmitry Timoshkov c79a514fe5 kernel32: Add more remote process tests. 2013-05-08 12:44:42 +02:00
Dmitry Timoshkov 77f222505c kernel32: Hold PEB lock during process exit. 2013-05-07 11:26:02 +02:00
Dmitry Timoshkov bac0387d29 server: Fail to set process affinity mask if the process is terminating. 2013-05-07 11:25:54 +02:00
Dmitry Timoshkov af3d73b035 server: Add a process flag indicating whether the process is terminating, use it to block thread creation in a being terminated process. 2013-05-07 11:25:49 +02:00
Dmitry Timoshkov 3de37fefce kernel32: Add some tests for PEB and loader locks. 2013-04-30 11:47:26 +02:00
Dmitry Timoshkov fa5c708c41 kernel32/tests: Add some tests for remote process termination. 2013-04-26 11:48:32 +02:00
Dmitry Timoshkov e54c49d940 kernel32: Test LdrShutdownProcess behaviour only after NtTerminateProcess(0) call. 2013-04-25 11:46:09 +02:00
Dmitry Timoshkov cd55afec8a kernel32: Add a test to show that CreateThread is supposed to fail after the NtTerminateProcess call. 2013-04-24 14:34:20 +02:00
Dmitry Timoshkov 59a23fb42f ntdll: Refuse to create new thread if the target process is being terminated. 2013-04-22 12:37:51 +02:00
Dmitry Timoshkov 7de3f1b5b5 kernel32: Check whether FreeLibrary actually has unloaded the module. 2013-04-19 16:16:18 +02:00
Francois Gouget 2baecad2c5 Assorted spelling fixes. 2013-04-18 19:13:16 +02:00
Dmitry Timoshkov b632f0966d kernel32: Count precise amount of child process failures. 2013-04-18 11:54:28 +02:00
Dmitry Timoshkov 3de89e8500 kernel32: Add more process shutdown tests. 2013-04-18 11:54:26 +02:00