Commit Graph

997 Commits

Author SHA1 Message Date
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
Detlef Riekenberg 71cbd277e7 kernel32/tests: Avoid IOCTL_DVD_READ_STRUCTURE test failures. 2013-04-30 11:49:37 +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
Dmitry Timoshkov 5690304c9d kernel32: Add a test to check event, thread, mutex and semaphore states during process termination. 2013-04-17 12:40:39 +02:00
Dmitry Timoshkov b92c82c942 server: Add support for NtTerminateProcess(0). 2013-04-15 16:45:33 +02:00
Dmitry Timoshkov c5fbb4a780 kernel32: Make the ExitProcess test work on x86_64. 2013-04-15 16:03:34 +02:00
Dmitry Timoshkov 521cf664d3 kernel32: Add a test for threads state when a process is being terminated. 2013-04-12 11:49:14 +02:00
Dmitry Timoshkov 54e2211db0 kernel32: Add a shared memory test. 2013-04-12 11:49:09 +02:00
Piotr Caban 23191a4355 server: Don't debug children when debugger is attached with DebugActiveProcess function. 2013-04-05 20:39:07 +02:00
Piotr Caban 46919f2154 kernel32: Fixed copy-paste error in IdnToUnicode. 2013-03-28 18:54:51 +01:00
Detlef Riekenberg ece3fafcda kernel32/tests: Avoid test failure on multicore machines. 2013-03-26 17:16:01 +01:00
Detlef Riekenberg 3826193f33 kernel32/tests: Fix failures with virtual Drives (AppVirt Client). 2013-03-11 10:44:51 +01:00
André Hentschel 56dbef9b19 kernel32/tests: Remove SPARC support. 2013-03-05 11:01:16 +01:00
Andrew Talbot 64c6c08e08 kernel32/tests: Do not assume the signedness of plain char. 2013-03-01 10:35:38 +01:00
Francois Gouget c2a5b04d01 kernel32/tests: Reduce the size of the console buffer to speed up the tests. 2013-02-11 17:52:43 +01:00
Detlef Riekenberg 8f1a3604ac kernel32/tests: Skip tests on non-English systems. 2013-02-11 11:46:08 +01:00
Marcus Meissner 17ca7ee82f kernel32: Conditional variable tests. 2013-01-30 12:43:45 +01:00
Charles Davis 5a3ff7ccc1 kernel32: Make CopyFile(Ex)() succeed even if the source file is delete-locked. 2013-01-18 13:29:01 +01:00
André Hentschel 1b440629a6 kernel32/tests: Add ARM64 support. 2013-01-16 12:52:26 +01:00
Marcus Meissner 8e0d3abd0f kernel32: Improve condition variable test case. 2013-01-07 19:30:27 +01:00
André Hentschel e431d89ed2 kernel32/tests: Don't test function directly when reporting GetLastError(). 2012-12-20 12:00:26 +01:00
Piotr Caban e5a25ec5c5 kernel32: Fixed TIME_CompTimeZoneID behavior on dates close to New Year's Eve. 2012-12-10 17:36:25 +01:00
Hans Leidekker c019083240 kernel32: Implement SetFileValidData. 2012-12-04 14:42:28 +01:00
André Hentschel 27b0b93684 kernel32/tests: Fix crashes on win8 in console. 2012-11-30 19:12:17 +01:00
André Hentschel 428180ce54 kernel32/tests: Fix crash on win8 in module. 2012-11-30 19:12:16 +01:00
Michael Stefaniuc f62ba6ff5c kernel32/tests: Don't cast zero. 2012-11-19 11:46:27 +01:00
Detlef Riekenberg 5c1e6cf7cd kernel32/tests: Fix 32-bit thread test failures on NT 5.x 64bit. 2012-11-14 19:23:36 +01:00
Francois Gouget a4f2c00526 kernel32/tests: Make test_CompareStringOrdinal() static. 2012-11-05 11:30:29 +01:00
Christian Costa ba5cade700 kernel32: Implement CompareStringOrdinal. 2012-11-02 19:47:15 +01:00
Francois Gouget ed9e745580 Assorted spelling tweaks and fixes. 2012-10-22 12:21:55 +02:00
Marcus Meissner 0a8df5ef26 kernel32: Buffer size is in characters (Coverity). 2012-10-15 13:31:04 +02:00
Vincas Miliūnas aba4619dfe kernel32: Added implementation for OpenFileById. 2012-10-12 13:20:40 +02:00
Vincas Miliūnas be1c0edfcf kernel32/tests: Added tests for OpenFileById. 2012-10-12 13:20:39 +02:00
Vincas Miliūnas 6314cf0295 kernel32: Added implementation of FileIdBothDirectoryInfo for GetFileInformationByHandleEx. 2012-10-12 13:14:43 +02:00
Vincas Miliūnas 9cec60bb1e kernel32/tests: Added tests of FileIdBothDirectoryInfo for GetFileInformationByHandleEx. 2012-10-12 13:13:06 +02:00
Francois Gouget 9ec7ab3fa0 shell32/tests: Write proper tests for CommandLineToArgvW(). 2012-10-04 10:42:40 +02:00
Francois Gouget 5f55a71b70 Assorted spelling fixes. 2012-09-24 22:27:29 +02:00
Francois Gouget 49cf27ab2a kernel32: Add line wrapping support to FormatMessage(). 2012-09-24 16:38:15 +02:00
Francois Gouget a273cac747 kernel32/tests: Add more FormatMessage() line wrapping tests. 2012-09-19 23:55:51 +02:00
Marcus Meissner 7a529328db kernel32: Add condition variables prototypes and tests. 2012-09-11 20:56:37 +02:00
Francois Gouget b8050f0571 Assorted spelling fixes. 2012-09-04 16:15:52 +02:00
Nikolay Sivov 2097c5ddb6 kernel32: Handle neutral locale names better in GetLocaleInfoEx. 2012-08-27 19:42:52 +02:00
Alexandre Julliard 57bb58f7f5 kernel32/tests: "en" is not a valid locale on some platforms. 2012-08-22 12:03:34 +02:00
André Hentschel 20e1b46d83 kernel32: Fix LocaleNameToLCID on mismatch. 2012-08-17 10:46:27 +02:00
André Hentschel 538a0abbd7 include: Rename IMAGE_FILE_MACHINE_ARMV7 to IMAGE_FILE_MACHINE_ARMNT. 2012-08-17 10:45:17 +02:00
Austin English 5dfc2a34ea kernel32: Implement IsValidLocaleName (with tests). 2012-08-16 17:26:45 +02:00
André Hentschel f881dcf712 kernel32/tests: Test LocaleNameToLCID with bad name. 2012-08-15 17:55:00 +02:00
Detlef Riekenberg 9aacf4ce6f kernel32/tests: Fix test failures on win7. 2012-08-13 12:08:11 +02:00
Francois Gouget d0282267e0 kernel32/tests: Make initonce_callback() static. 2012-07-27 17:05:23 +02:00
Nikolay Sivov f31c2d1df1 kernel32: Some tests for LOCALE_SNAME and neutral locales. 2012-07-26 13:40:43 +02:00
Nikolay Sivov 9ba0cf76db kernel32: Fix base for value returned with LOCALE_RETURN_NUMBER. 2012-07-26 13:40:43 +02:00
Nikolay Sivov 5b7efa8ea3 kernel32: Some test for handling locales specified by language only. 2012-07-26 13:40:42 +02:00
Francois Gouget b193b0b7a8 kernel32/tests: Use NULL instead of casting 0. 2012-07-25 14:50:25 +02:00
Nikolay Sivov 04f588e63a kernel32: Some tests for blocking initialization with InitOnceBeginInitialize(). 2012-07-24 13:36:27 +02:00
Nikolay Sivov 9318528702 kernel32: Single thread test for InitOnceExecuteOnce(). 2012-07-23 12:54:15 +02:00
Nikolay Sivov b1c3c8c898 kernel32: Added InitOnceInitialize() implementation. 2012-07-23 12:53:24 +02:00
Alexandre Goujon 5feea8ce1a kernel32/tests: Add a IOCTL_DVD_READ_STRUCTURE (DvdManufacturerDescriptor) test. 2012-07-17 11:55:52 +02:00
Alexandre Goujon 9fce6a37ec kernel32/tests: Add a IOCTL_DVD_READ_STRUCTURE (DvdCopyrightDescriptor) test. 2012-07-12 16:13:49 -05:00
Alexandre Goujon a3b5dd2dff kernel32/tests: Add a IOCTL_DVD_READ_STRUCTURE (DvdPhysicalDescriptor) test. 2012-07-12 16:13:35 -05:00
Alexandre Goujon 7c27a96997 kernel32/tests: Add a helper to test CDROM ioctl. 2012-07-12 16:12:47 -05:00
Francois Gouget d31b6335f2 kernel32/tests: Test deleting a timer right after creating it. 2012-07-03 12:04:13 +02:00
Francois Gouget b887e7a963 kernel32/tests: Improve some traces for the CreateTimerQueueTimer() tests. 2012-07-03 12:03:55 +02:00
André Hentschel 3cd0834a24 kernel32: Change LCMapStringW to LCMapStringEx and call it from LCMapStringW. 2012-06-28 11:36:56 +02:00
Dmitry Timoshkov 68ffbaa718 kernel32: Add a test for deleting a file opened for reading. 2012-06-22 14:09:49 +02:00
Marcus Meissner b652dcee42 kernel32: Fixed read overflow in WriteFile argument. 2012-06-20 20:16:01 +02:00
Francois Gouget 4af794a5b4 kernel32/tests: Use the CSTR_XXX macros instead of numeric literals. 2012-06-20 10:27:52 +02:00
Francois Gouget 58d7011133 kernel32/tests: Add line-wrapping tests for FormatMessage(). 2012-06-20 10:27:33 +02:00
Francois Gouget dc2956206f kernel32/tests: Add a trailing '\n' to an ok() call. 2012-06-18 17:19:17 +02:00
Francois Gouget 74605efe74 kernel32/tests: Get rid of unneeded function typedefs. 2012-06-15 18:35:38 +02:00
Vincent Povirk 14404713de kernel32: Return success from ReadFileEx/WriteFileEx when I/O is pending. 2012-06-15 10:30:23 +02:00
Vincent Povirk 982153605a kernel32: Add test for pending ReadFileEx/WriteFileEx calls. 2012-06-15 10:30:19 +02:00
Vincent Povirk 0a2d6e5183 kernel32: Add named pipe server test with ReadFileEx/WriteFileEx. 2012-06-15 10:30:16 +02:00
Detlef Riekenberg 7fbf5c239e kernel32/tests: Accept higher PRODUCT_* values. 2012-06-13 21:35:40 +02:00
Detlef Riekenberg 697cea2f93 kernel32/tests: Do not test GetLastError on success. 2012-06-13 12:08:37 +02:00
André Hentschel 1f3eca666b kernel32/tests: Add tests for LCMapStringEx. 2012-06-06 20:54:22 +02:00
Detlef Riekenberg 8c83c66bcb kernel32/tests: Remove debug code from GetProductInfo. 2012-06-05 21:23:21 +02:00
Detlef Riekenberg 64fbf5cac2 kernel32/tests: Add tests for GetProductInfo. 2012-05-31 12:37:24 +02:00
Alex Henrie 8ccf747d6a kernel32: Correct WideCharToMultiByte and MultiByteToWideChar error codes and conditions. 2012-05-17 17:44:26 +02:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Alexandre Julliard 5d770503b9 kernel32/tests: Avoid a non-portable printf format. 2012-05-14 14:15:53 +02:00
Alexandre Julliard 5f20ecc62a kernel32/tests: Remove a couple of invalid tests. 2012-05-09 23:21:07 +02:00
Piotr Caban 30aea19e3b kernel32/tests: Added IdnToUnicode tests. 2012-04-30 20:03:27 +02:00
Piotr Caban 03b58f580c kernel32/tests: Added IdnToAscii tests. 2012-04-30 20:03:26 +02:00
Piotr Caban 60b25b7dd6 kernel32: Support multiple labels in IdnToNameprepUnicode. 2012-04-30 20:03:25 +02:00
Piotr Caban 6cda3776f6 kernel32/tests: Added IdnToNameprepUnicode tests. 2012-04-26 19:48:09 +02:00
Piotr Caban 4242fc94a5 kernel32/tests: Added more FoldString tests. 2012-04-26 19:48:02 +02:00
Dmitry Timoshkov d4d39736ce kernel32: Add more memory access checks. 2012-04-19 19:28:12 +02:00