Commit Graph

507 Commits

Author SHA1 Message Date
Alexandre Julliard 02229896be kernel32/tests: Use the correct value for invalid heap sizes on 64-bit. 2009-01-02 12:20:53 +01:00
Austin English e9569d9c4e kernel32/tests: Fix compile on powerpc. 2009-01-02 11:51:41 +01:00
Ge van Geldorp c7905ffebc kernel32/tests: Use shared Windows directory on TS to find regedit.exe. 2008-12-29 12:11:41 +01:00
Alexandre Julliard a2089abd94 ntdll: Enforce correct protection values in virtual memory functions. 2008-12-11 14:05:42 +01:00
Alexandre Julliard ffb44032ad kernel32/tests: Fixed the handle test for Win9x. 2008-12-08 21:19:39 +01:00
Alexandre Julliard 7749b6e2dd kernel32/tests: Added some tests for behavior of 64-bit kernel handles. 2008-12-08 13:39:31 +01:00
Alexandre Julliard a840b6a7f8 Avoid including time.h before winsock.h in tests. 2008-12-04 12:42:53 +01:00
Alexandre Julliard c03917c173 Define _WIN32_WINNT before including any headers. 2008-12-04 12:10:16 +01:00
Jeff Zaroyko afce615830 wineserver: Don't use O_CREAT and O_EXCL when attempting to open directories. 2008-12-03 09:58:21 +01:00
Jeff Zaroyko f8b5aa34dc kernel32: Add a test for CreateFile when using OPEN_ALWAYS on directories. 2008-12-03 09:57:52 +01:00
Kai Blin a30724304c kernel32/tests: logfile can be NULL, avoid dereferencing it (Coverity). 2008-12-01 14:26:02 +01:00
Michael Stefaniuc d26b02960c kernel32: Remove some superfluous casts of void pointers. 2008-12-01 12:45:51 +01:00
Alexandre Julliard f0483957dd kernel32/tests: Fix the unimplemented check for EnumSystemLanguageGroupsA. 2008-11-26 12:04:32 +01:00
Alexandre Julliard af8bb2e922 ntdll: Add support for virtual write watches. 2008-11-25 12:07:35 +01:00
Alexandre Julliard 752416f7c4 kernel32/tests: Fix the mailslot tests on Win9x. 2008-11-20 21:59:26 +01:00
Alexandre Julliard d523c86a1b kernel32/tests: Fix test failures on Win9x and NT4.
Get rid of most of the macros that make it hard to handle special cases.
2008-11-20 21:39:48 +01:00
Alexandre Julliard 8772c5f150 kernel32/tests: Add a couple of tests for write watches. 2008-11-20 14:27:35 +01:00
Alexandre Julliard 0d6415df16 kernel32/tests: Allow up to 2 seconds of difference in timestamps. 2008-11-18 13:52:25 +01:00
Alexandre Julliard 1e02c1c3c8 kernel32/tests: Fix the process tests on NT4. 2008-11-17 23:37:00 +01:00
Alexandre Julliard d68225eb41 kernel32/tests: Fix the mailslot tests on Vista. 2008-11-17 23:36:47 +01:00
Alexandre Julliard cf1116107f kernel32/test: Fix the timer queue tests on Vista. 2008-11-17 23:01:21 +01:00
Alexandre Julliard 61ea936d68 kernel32/tests: Fix pipe test on w2k3. 2008-11-17 13:16:26 +01:00
Alexandre Julliard e4d7d902d5 kernel32/tests: Fix the write watch tests on Win98 and Win2000. 2008-11-14 20:36:20 +01:00
Paul Vriens 21765291cf kernel32/tests: Fix timeouts on NT4 and W2K. 2008-11-14 14:28:29 +01:00
Alexandre Julliard 16feb03778 kernel32/tests: Fix the file test on various Windows versions. 2008-11-14 13:30:16 +01:00
Alexandre Julliard 43fae4e425 kernel32/tests: Added a bunch of tests for write watches. 2008-11-14 11:02:15 +01:00
Alexandre Julliard f2f0dead61 kernel32/tests: Fix the thread test to cope with the Win95 InterlockedIncrement behavior. 2008-11-13 11:49:36 +01:00
Alexandre Julliard 1ff8e7dd41 kernel32/tests: Fix the thread test on NT4. 2008-11-10 11:09:18 +01:00
Alexandre Julliard 220a2c2c0b kernel32/tests: Fix some resource test failures on NT4. 2008-11-10 11:09:11 +01:00
Alexandre Julliard 181e4f08b6 kernel32/tests: Fix some profile test failures on NT4. 2008-11-10 11:09:02 +01:00
Alexandre Julliard a6ce819ca2 kernel32/tests: Fix one more failing test on Win9x. 2008-11-07 10:50:57 +01:00
Alexandre Julliard cc49f6ba8b kernel32/tests: Fix a few more errors on Win9x. 2008-11-06 11:23:16 +01:00
Alexandre Julliard 5e2ed6bfe9 ntdll,server: Fixed access checks for OpenFileMapping and MapViewOfFile. 2008-11-05 20:32:32 +01:00
Alexandre Julliard f21096ad01 ntdll: Don't force anonymous file mappings to always be fully committed. 2008-11-05 12:31:49 +01:00
Alexandre Julliard 503269a4db kernel32/tests: Add a few more tests, fix some failures on Windows. 2008-11-04 16:23:16 +01:00
Alexandre Julliard fdf2e7a338 kernel32/tests: Fix a couple of failures on Windows. 2008-11-04 16:13:30 +01:00
Michael Stefaniuc c9a10b32b4 kernel32: Do not cast zero. 2008-11-04 11:26:09 +01:00
Alexandre Julliard 21453b4c2e ntdll: Allocate a new virtual region for large blocks, and ensure 16-byte alignment. 2008-10-29 17:32:45 +01:00
Alexandre Julliard 6dee4c6e63 kernel32: Return the Windows symlink in QueryDosDevice instead of the Unix one. 2008-10-24 14:24:58 +02:00
Aric Stewart 65e677735e ntdll: Update behavior of ActivationContextBasicInformation. 2008-10-22 14:57:22 +02:00
Paul Vriens 61b84b0862 kernel32/tests: Skip a test if needed. 2008-10-22 13:54:54 +02:00
Paul Vriens dda38adce5 kernel32/tests: Fix a few failures on win9x and winme. 2008-10-22 13:54:54 +02:00
Paul Vriens 5b83196484 kernel32/tests: Free memory after use. 2008-10-21 11:43:18 +02:00
Aric Stewart 0738505173 kernel32/tests: Add test for GetCommandLineW. 2008-10-16 11:42:50 +02:00
Aric Stewart 6ec0e71e17 kernel32/tests: Add a test for CreateProcess with an AppName set. 2008-10-16 11:41:50 +02:00
Jacek Caban a849136d5e kernel32: Added GetLogicalDriveStrings tests. 2008-10-16 11:21:46 +02:00
Dmitry Timoshkov 228c52de57 kernel32: Add support for foreign process handles in GetProcessVersion. 2008-10-16 11:21:40 +02:00
Paul Vriens 839b5400cd kernel32/tests: Add a missing newline. 2008-10-07 15:20:24 +02:00
Paul Vriens 81f75c1840 kernel32/tests: Fix failures on WinMe. 2008-10-07 12:11:59 +02:00
Paul Vriens b16983c1bc kernel32/tests: We need the return value. 2008-10-07 12:11:52 +02:00
Paul Vriens a1131786e4 kernel32/tests: Add some skips to fix failures on WinMe. 2008-10-06 15:31:04 +02:00
Paul Vriens 32af90d53a kernel32/tests: Fix some failures on win9x. 2008-10-06 13:55:15 +02:00
Paul Vriens cc57b863b5 kernel32/tests: Fix the remaining errors on win95. 2008-10-06 13:55:12 +02:00
Reece Dunn 4193d78029 kernel32: Be more verbose when reporting the sync test failures. 2008-09-30 11:33:24 -05:00
Erik Inge Bolsø e8754b8ea6 kernel32: Fix PROFILE_Load to handle mac line endings. 2008-09-23 13:07:40 +02:00
Paul Vriens 1c5043e73d kernel32/tests: Add extra tests for SetCurrentDirectory. 2008-09-22 12:16:46 +02:00
Paul Vriens 7cb7c14476 kernel32/tests: Make sure we can remove a test directory. 2008-09-22 12:16:07 +02:00
Paul Vriens e23904ceb9 kernel32/tests: Fix tests on NT4. 2008-09-22 12:16:00 +02:00
Paul Vriens 40a94e04b4 kernel32/tests: Skip some tests on win9x. 2008-09-22 12:15:24 +02:00
Paul Vriens ed55217444 kernel32/tests: Use skip instead of trace. 2008-09-22 12:15:17 +02:00
Francois Gouget 7af03a041a kernel32/tests: Fix compilation on systems that don't support nameless unions. 2008-09-22 11:51:56 +02:00
Alexandre Julliard 7e54db23e9 kernel32/tests: Fix a couple of tests failing on NT4. 2008-09-19 14:03:40 +02:00
Alexandre Julliard ea39761d3a kernel32/tests: Fix race condition in the thread test. 2008-09-19 12:21:45 +02:00
Jeff Zaroyko 22a33168c9 kernel32: Modify DeleteFileW to fail on directories. 2008-09-18 12:32:57 +02:00
Alexandre Julliard 382ef908f1 kernel32/tests: Handle the win2k3 version check behavior. 2008-09-17 16:29:53 +02:00
Rob Shearman 1229e0ab29 kernel32: Fix character count passed to GlobalGetAtomNameW in test_get_atom_name. 2008-09-17 12:01:57 +02:00
Dmitry Timoshkov b4e6aa645b kernel32: Fix the target buffer size. 2008-09-17 10:54:48 +02:00
Alexandre Julliard b1412422ad kernel32/tests: Comment out an UpdateResource call that causes failures. 2008-09-16 22:36:58 +02:00
Alexandre Julliard 337fa823d2 kernel32/tests: Support alternate results in the loader test on Vista. 2008-09-16 22:36:42 +02:00
Alexandre Julliard 9f0773587b kernel32/tests: Fix a test on win9x. 2008-09-16 22:36:04 +02:00
Roy Shea 91e33020f0 kernel32/test: Test import entries of a core windows DLL. 2008-09-15 11:55:04 +02:00
Marcus Meissner 395c4163b8 kernel32/tests: Pass correct size to MultiBytetoWideChar. 2008-09-15 11:44:14 +02:00
Paul Vriens d81aff24c6 kernel32/tests: Skip tests on Win95. 2008-09-15 11:23:34 +02:00
Alexandre Julliard c9f84aa9f9 kernel32/tests: Fix the ResumeThread on win9x. 2008-09-11 14:10:35 +02:00
Alexandre Julliard 33c5d44d49 kernel32/tests: Fix the BindIoCompletionCallback test on Vista. 2008-09-11 14:07:54 +02:00
Alexandre Julliard f0bf098e16 kernel32/tests: Fix the async I/O test to handle errors properly. 2008-09-11 13:49:16 +02:00
Dmitry Timoshkov 4d672ba090 kernel32: Use a kernel error code. 2008-09-11 11:46:02 +02:00
Paul Vriens 5737fb815c kernel32/tests: Fix a few failures on win98. 2008-09-08 12:49:12 +02:00
Paul Vriens c461eba067 kernel32/tests: Fix 2 tests on win9x. 2008-09-08 12:49:12 +02:00
Paul Vriens c3a58cc7d8 kernel32/tests: Fix a few tests on win9x. 2008-09-08 12:49:12 +02:00
Francois Gouget d8914673ba kernel32/tests: Add a trailing '\n' to an ok() call. 2008-09-05 13:39:13 +02:00
Paul Vriens 94b73a6d04 kernel32/tests: Split the test for ret and last error. 2008-09-05 11:20:59 +02:00
Jeff Zaroyko 1b5873accc kernel32: Add some tests for DeleteFile. 2008-09-03 14:21:44 +02:00
James Hawkins d6bb1d9a70 kernel32: Fix a failing test in win95. 2008-09-03 14:21:42 +02:00
James Hawkins 57cda911a9 kernel32: Fix a test that fails in win2k3. 2008-09-03 13:14:50 +02:00
James Hawkins 731306bf78 kernel32: Fix two tests that fail in win2k3 and modify LoadLibraryEx to match this behavior. 2008-09-03 13:14:50 +02:00
James Hawkins b1ff962182 kernel32: Fix a failing test in Vista. 2008-09-03 13:14:50 +02:00
James Hawkins 816f57cbb1 kernel32: Add tests for LoadLibraryEx. 2008-08-29 13:29:36 +02:00
James Hawkins 7d7d799284 kernel32: Trace the last error on failure. 2008-08-29 13:23:03 +02:00
James Hawkins 806edcc496 kernel32: Fix two failing tests in win95. 2008-08-29 13:22:55 +02:00
James Hawkins 39732cf927 kernel32: Trace the modified buffer on error. 2008-08-29 13:22:50 +02:00
James Hawkins 9aef134bdc kernel32: Fix a failing test in win95. 2008-08-29 13:22:31 +02:00
Paul Vriens 56ba2baa01 kernel32/tests: Use skip instead of trace. 2008-08-26 10:57:50 +02:00
Paul Vriens ac07480fab kernel32/tests: Use a file that is available on all platforms. 2008-08-26 10:57:05 +02:00
Paul Vriens 920c1fc77a kernel32/tests: Fix two failures on win9x. 2008-08-26 10:56:58 +02:00
Michael Karcher 34aa6b7002 kernel32: Fix profile cache logic and don't cache new files. 2008-08-20 14:56:15 +02:00
Michael Karcher c2a26cee16 kernel32/tests: Fix profile crash on NT and up. 2008-08-19 15:19:29 +02:00
Michael Karcher 33ca67dcab kernel32: Fix profile sharing mode.
Based on a patch from Austin English.
2008-08-18 17:15:56 +02:00
Paul Vriens 0d88bf89dc kernel32/tests: Show the setting of the debugger registry value. 2008-08-05 14:09:37 +02:00
Paul Vriens 7661c6989d kernel32/tests: Fix a test failure on Win9x. 2008-08-05 14:09:34 +02:00
Francois Gouget a793888a28 Assorted spelling fixes. 2008-08-04 13:04:48 +02:00
Paul Vriens b2093dc86a kernel32/tests: Skip tests when codepage is not available. 2008-08-04 13:01:24 +02:00
Colin Finck eb8a6f70f5 kernel32/tests: Fix a wrong length passed to a WideCharToMultiByte test, which led to a use of uninitialized stack memory. 2008-08-01 11:18:11 +02:00
Colin Finck c2c1a55f1c kernel32: Add a lot of new tests for the actual WideCharToMultiByte string conversion as well. 2008-07-31 14:09:07 +02:00
Dan Hipschman 54752c4f87 kernel32/tests: Add tests for undocumented default timer queue "features". 2008-07-30 12:44:31 +02:00
Dan Hipschman a148e190af ntdll: Add support for a default timer queue. 2008-07-30 12:44:25 +02:00
Detlef Riekenberg 5437f4ce9c kernel32/tests: Fix a crash on win9x (lpDefault is truncated inplace). 2008-07-28 11:35:38 +02:00
Dan Hipschman 2b287a4489 ntdll: Fix a small timer-queue bug whereby a deleted timer may still expire. 2008-07-28 11:32:21 +02:00
Dan Hipschman 4c64d0cdfa ntdll: Implement RtlDeleteTimer for kernel32's DeleteTimerQueueTimer. 2008-07-25 14:09:15 +02:00
Dan Hipschman 396e47ef5c ntdll: Implement RtlUpdateTimer for kernel32's ChangeTimerQueueTimer. 2008-07-25 14:09:15 +02:00
Dan Hipschman 5ef54c4cec ntdll: Implement the timer queue thread. 2008-07-25 14:09:15 +02:00
Nicolas Le Cam eb612fd4dc kernel32/tests: Fix a failing test in Vista. 2008-07-23 13:54:06 +02:00
Dan Hipschman d343f2baf7 ntdll: Implement RtlCreateTimer for kernel32's CreateTimerQueueTimer. 2008-07-23 11:24:03 +02:00
H. Verbeet ff870e0132 server: Calling ResumeThread() on a terminated thread is valid. 2008-07-23 11:21:47 +02:00
Dan Hipschman 20a1ca2bbf ntdll: Implement [Rtl]Create/DeleteTimerQueue[Ex]. 2008-07-22 13:24:21 +02:00
Dan Hipschman 09f4ca64e2 kernel32/tests: Check that timers are not NULL in timer queue tests. 2008-07-22 13:21:48 +02:00
Dan Hipschman bf0f78b11a kernel32/tests: Add tests for Change/DeleteTimerQueueTimer. 2008-07-22 13:21:29 +02:00
Detlef Riekenberg f8dea7ab2d kernel32/tests: Run the tests again on Win9x. 2008-07-22 13:21:12 +02:00
Francois Gouget bc5ce27947 Assorted spelling fixes. 2008-07-21 13:00:01 +02:00
Dan Hipschman fc325c7674 kernel32/tests: Add tests for timer queues. 2008-07-17 13:15:29 +02:00
James Hawkins 3fb196fb57 kernel32: Return the default value if lpKeyName is empty. 2008-07-17 11:38:19 +02:00
James Hawkins 7e9df53f38 kernel32: Fix removing trailing spaces from lpDefault for GetPrivateProfileString. 2008-07-17 11:37:55 +02:00
James Hawkins e5705eae84 kernel32: Add tests for GetPrivateProfileString. 2008-07-17 11:37:02 +02:00
Dan Hipschman c70e6125bf kernel32/tests: Fix p_BindIoCompletionCallback declaration so it compiles with the MS compiler. 2008-07-16 17:54:59 +02:00
James Hawkins c737542782 kernel32: Fix test failures because of a broken ReplaceFile in win2k. 2008-07-02 12:05:34 +02:00
James Hawkins 63ac79f4d5 kernel32: Don't test for HARDDISK and RAMDISK on win9x. 2008-06-30 15:05:40 +02:00
James Hawkins 03d23bd43d kernel32: Fix a few test failures in win9x. 2008-06-30 15:05:32 +02:00
James Hawkins ac5885ef41 kernel32: Fix a few test failures in win9x. 2008-06-30 15:05:19 +02:00
James Hawkins 3361f0c4fd kernel32: Fix a test failure in win9x. 2008-06-30 15:05:13 +02:00
Paul Vriens dd01d39f3b kernel32: Fix return values of GetConsoleCursorInfo. 2008-06-24 12:47:18 +02:00
Paul Vriens 296bbde1c1 kernel32/tests: Add some tests for GetConsoleCursorInfo. 2008-06-24 12:45:25 +02:00
Dan Hipschman e22af18e7a kernel32/tests: Add tests for TLS functions. 2008-06-23 14:04:31 +02:00
Dan Kegel 98fba5e56a kernel32/tests: Initialize a few variables. 2008-06-23 12:46:20 +02:00
Huw Davies 6e2827ec29 kernel32: Fix typo. 2008-06-20 11:19:30 +02:00
Paul Vriens 8fb9503c6d kernel32/tests: Skip tests if function is not implemented. 2008-06-13 12:07:49 +02:00
Paul Vriens e7f5c45cf9 kernel32/tests: Fix a few typos. 2008-06-13 12:07:43 +02:00
Alexandre Julliard 3cb0bcff83 kernel32/tests: Use Local instead of Global prefix to avoid permission issues. 2008-06-10 17:44:57 +02:00
Alexandre Julliard af785c4d0f kernel32/tests: Fix the change notification test on Vista. 2008-06-10 17:44:41 +02:00
Alexandre Julliard 5b0c326679 kernel32/tests: Limit the number of failures in the ligatures test. 2008-06-10 11:55:01 +02:00
Alexandre Julliard a991afae9b kernel32/tests: Make the toolhelp test less verbose by default. 2008-06-10 11:34:11 +02:00
Dan Kegel 3b0924cf83 kernel32/tests: Initialize buffer. 2008-06-09 19:39:49 +02:00
Paul Vriens fe5b8ada64 kernel32/tests: Add a skip message for win95. 2008-06-09 12:39:29 +02:00
Alexandre Julliard ebb8311a4b kernel32/tests: Don't check every single Unicode char if the tables are clearly not compatible. 2008-06-04 12:33:38 +02:00
James Hawkins c81d36e989 kernel32: Remove two tests that produce different results for win9x and NT platforms. 2008-05-29 12:12:43 +02:00
Francois Gouget 2321017707 kernel32/tests: Get the tests running again on Win95. 2008-05-26 18:01:06 +02:00
James Hawkins e92f9054dd kernel32: Don't test the invalid locale 0 if it is enumerated. 2008-05-23 12:10:10 +02:00
Alexandre Julliard 284335229a kernel32: Don't require write access on profile file when only reading. 2008-05-22 12:15:37 +02:00
Alexandre Julliard 9f76085c06 kernel32: File mapping names are case sensitive. 2008-05-21 20:45:11 +02:00
Alexandre Julliard b62f3dee2d kernel32: Waitable timer names are case sensitive. 2008-05-21 20:44:36 +02:00
Alexandre Julliard 116297d0c1 kernel32: Semaphore names are case sensitive. 2008-05-21 20:43:43 +02:00