Commit Graph

755 Commits

Author SHA1 Message Date
Austin English e0c7fb66c4 kernel32/tests: Use ret in load_blackbox(). 2010-05-24 12:53:09 +02:00
Andrey Turkin 85cc2c13f6 server: Connect named pipe synchronously when overlapped param is NULL. 2010-05-24 12:39:35 +02:00
Paul Vriens f3b4bd2bbc kernel32: Return the correct processor arch and type in wow64 mode. 2010-05-13 11:51:11 +02:00
Nikolay Sivov 0597e659bd kernel32: Fix return code from LocalUnlock for pointer passed to it. 2010-05-10 10:04:54 +02:00
André Hentschel 56d28f7d5b kernel32: Double the alarm timeout to prevent a failed test. 2010-05-07 13:30:44 +02:00
Gerald Pfeifer 978b4898e5 kernel32/tests: Remove variable len which is not really used from test_CommandLine. 2010-05-05 10:56:39 +02:00
Andrew Nguyen f2c91f0d3c kernel32: Reject a format string with insertions if no variadic arguments are passed to FormatMessageA/W. 2010-05-03 13:56:53 +02:00
Andrew Nguyen cff134daf4 kernel32/tests: Document a few FormatMessage tests which are broken on older Windows. 2010-04-28 07:39:10 -05:00
Andrew Nguyen 57636255ef kernel32: Merge the insertion and non-insertion codepaths in the format_message helper together to share common functionality. 2010-04-28 07:39:03 -05:00
Andrew Nguyen 722fd58446 kernel32: Process CRLF escape sequences in normal insert sequence processing path in FormatMessageA/W. 2010-04-28 07:38:53 -05:00
Andrew Nguyen e724f6aa28 kernel32/tests: Centralize the FormatMessageW skip detection. 2010-04-28 07:38:05 -05:00
Andrew Nguyen 5505ae978b kernel32: Handle some escape sequences with FORMAT_MESSAGE_IGNORE_INSERTS in FormatMessageA/W. 2010-04-28 07:37:58 -05:00
Andrew Nguyen 2193b9e887 kernel32: Correct output buffer behavior with empty input strings for FormatMessageA/W. 2010-04-28 07:37:49 -05:00
Andrew Nguyen f50198f662 kernel32: Improve flag error handling in FormatMessageA/W. 2010-04-28 07:37:39 -05:00
Andrew Nguyen 3cb43a081b kernel32: Fail if a format placeholder is present without a format specifier in FormatMessageA/W. 2010-04-28 07:36:35 -05:00
Hans Leidekker 9b33b479d6 kernel32/tests: Fix test failures on certain versions of Windows. 2010-04-27 14:38:38 -05:00
Andrew Nguyen 8e20322578 kernel32/tests: Add tests for buffer allocation in FormatMessage. 2010-04-19 15:43:31 +02:00
Andrew Nguyen ce61b254d0 kernel32: Only check the buffer pointer in FormatMessageA if buffer allocation is requested. 2010-04-19 15:43:25 +02:00
Andrew Nguyen 8b28efaed7 kernel32: Reject an insufficiently sized buffer in FormatMessageA/W. 2010-04-19 15:43:07 +02:00
Andrew Nguyen f35ca2a77c kernel32/tests: Remove a superfluous comment in the FormatMessage tests. 2010-04-19 15:42:39 +02:00
Alexandre Julliard 5189eef6bb ntdll: Fix affinity mask check for 64-bit. 2010-04-08 23:57:08 +02:00
Alexandre Julliard a8e86e35dd winapi: Generate the 64-bit variant of structure size/alignment tests. 2010-04-07 18:03:00 +02:00
Andrew Nguyen 39208d4d60 kernel32: Don't set last error on success in OpenConsoleW. 2010-04-01 18:12:40 +02:00
Andrew Nguyen b7bf2abdff kernel32: Improve parameter validation in OpenConsoleW. 2010-04-01 18:12:40 +02:00
Michael Stefaniuc 8f7372488b kernel32/tests: Remove superfluous casts of integer constants. 2010-03-29 11:48:58 +02:00
Francois Gouget 3428b94a8d Assorted spelling and case fixes. 2010-03-22 10:49:13 +01:00
Francois Gouget 891b1ce3de kernel32/tests: Remove a space after a '\n' in a skip(). 2010-03-22 10:48:17 +01:00
Paul Vriens b120836bd2 kernel32/tests: Run tests again on Win95. 2010-03-16 17:03:23 +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 ef058b3030 kernel32: Implement CheckRemoteDebuggerPresent(). 2010-03-15 15:56:56 +01:00
Henri Verbeet 6c0ecd0955 server: Debugging our own process is disallowed. 2010-03-15 15:55:08 +01:00
Henri Verbeet 1970fb35d4 server: Allow the debugger to be debugged. 2010-03-05 13:21:22 +01:00
Reece Dunn 1b46c0660d kernel32/tests: Add a test case for calling TlsFree on a freed index. 2010-03-03 11:49:35 +01:00
Alexandre Julliard fbbac38e4e kernel32/tests: Fix broken usage of the ok() macro return value.
Spotted by Yann Droneaud.
2010-02-24 16:47:48 +01:00
Alexandre Julliard 25718e1af3 kernel32/tests: Add a couple of last error codes for Win7. 2010-02-23 11:24:08 +01:00
Hans Leidekker b7696db161 kernel32/tests: Fix a thread handle leak. 2010-02-22 13:15:43 +01:00
Erich Hoover 2902d8090a kernel32/tests: Add test for 'all processors' flag on Vista and newer. 2010-02-22 11:57:12 +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 fb950a6da5 kernel32/tests: Fix a test failure on xp64. 2010-02-17 12:04:42 +01:00
Michael Stefaniuc 0f5d042ff2 kernel32: Don't use HIWORD to check for swapped args in GetCurrentDirectoryA. 2010-02-10 14:33:35 +01:00
Peter Rosin 805f7d79db kernel32: Add SetThreadErrorMode and GetThreadErrorMode. 2010-02-04 13:39:27 +01:00
Peter Rosin e8a32ec2b8 kernel32: Add tests for SetThreadErrorMode and GetThreadErrorMode. 2010-02-04 13:39:27 +01:00
Alexandre Julliard 5c9753e2b6 kernel32/tests: Remove leftover Sleep() call. 2010-02-01 16:19:21 +01:00
Alexandre Julliard 5f9f260e42 kernel32: Avoid truncating the output buffer length in GetCurrentDirectoryA. 2010-02-01 13:22:41 +01:00
Alexandre Julliard a86adcca61 kernel32/tests: Fix heap flag tests for the page alloc case. 2010-02-01 12:35:43 +01:00
Alexandre Julliard 221c115e98 kernel32/tests: Fix some of the heap tests for 64-bit. 2010-01-29 13:29:21 +01:00
Alexandre Julliard 0692bfda5f ntdll: Don't require heap sizes to be 64K aligned. 2010-01-28 19:47:01 +01:00
Alexandre Julliard 31aa3900e4 ntdll: Add 8 more bytes to the block tail when tail checking is enabled. 2010-01-27 18:46:07 +01:00
Alexandre Julliard 356b06faea kernel32/tests: Add tests for tail checking on large heap blocks. 2010-01-26 16:08:49 +01:00
Alexandre Julliard b1c9ce44dd kernel32/tests: Add tests for heap tail and free block checking. 2010-01-26 15:58:50 +01:00
André Hentschel c008984a01 kernel32: Implement IsThreadAFiber function. 2010-01-25 12:56:26 +01:00
André Hentschel a9353a1caf kernel32/tests: Test Fiber callback count. 2010-01-25 12:55:41 +01:00
André Hentschel 30deb6b896 kernel32/tests: Test Fiber Local Storage functions. 2010-01-25 12:55:34 +01:00
André Hentschel e0475a3e11 kernel32/tests: Test IsThreadAFiber function. 2010-01-25 12:55:22 +01:00
André Hentschel f57dbecda8 kernel32/tests: Test fiber Ex functions. 2010-01-25 12:55:12 +01:00
André Hentschel ffae80a39c kernel32/tests: Run fiber tests on more platforms. 2010-01-25 12:55:00 +01:00
André Hentschel 2d956be11d kernel32/tests: Fix header comments. 2010-01-25 12:46:00 +01:00
Alexandre Julliard dabda7e3ee kernel32/tests: Add tests for the global flag and its influence on the heap flags. 2010-01-22 12:33:24 +01:00
André Hentschel 643625b9e0 kernel32/tests: Initial fiber tests. 2010-01-20 15:35:38 +01:00
Paul Vriens 6fd641aa05 kernel32/tests: Skip a test on Win9x/WinMe. 2010-01-18 14:39:11 +01:00
Andrew Nguyen 11dce800c1 kernel32/tests: Add tests for IsBadCodePtr. 2010-01-18 14:38:53 +01:00
Andrew Nguyen 5b9730c494 kernel32/tests: Add more tests for IsBadWritePtr. 2010-01-18 14:38:48 +01:00
Andrew Nguyen 4108fd0f35 kernel32/tests: Add tests for IsBadReadPtr. 2010-01-18 14:38:41 +01:00
Jason Edmeades 99a0376a4f kernel32: Return error on second attempt to free a module. 2010-01-18 14:26:16 +01:00
André Hentschel b45d4aa161 kernel32/tests: Simplify string generation. 2010-01-11 11:29:38 -06:00
Paul Vriens a95e070824 kernel32: Add a stubbed GetConsoleProcessList(). 2010-01-05 12:29:18 +01:00
Alexandre Julliard 89c0b87fad kernel32/tests: Fix the SetThreadIdealProcessor for WoW64. 2009-12-23 14:27:31 +01:00
Alexandre Julliard 221925ddbf kernel32/tests: Get rid of API function typedefs. 2009-12-23 14:27:31 +01:00
Nikolay Sivov 6d270a1d48 kernel32: Fix SearchPath parameter validation with tests. 2009-12-22 13:48:25 +01:00
Nikolay Sivov 08a778c568 kernel32/tests: Init pointers in common way, add some win_skip() while skipping. 2009-12-22 13:48:25 +01:00
Nikolay Sivov 8b805e48fb kernel32/tests: Fix LocalAlloc() allocated leaks. 2009-12-21 15:36:52 +01:00
Nikolay Sivov f33db8a02d kernel32/tests: Fix some find handle leaks. 2009-12-21 15:36:52 +01:00
Nicolas Le Cam 7ae21483ec kernel32/tests: Simplify dumpmem function. 2009-12-21 15:01:25 +01:00
Nikolay Sivov a29bbda1a4 kernel32/tests: Print line numbers in tests. 2009-12-21 15:01:24 +01:00
Nikolay Sivov 0fe54088bc kernel32/tests: Fix few context leaks. 2009-12-18 11:43:48 +01:00
Paul Vriens 17eb00409c kernel32/tests: Add some tests for GetLongPathNameW. 2009-12-17 13:25:51 +01:00
Paul Vriens 763694a646 kernel32/tests: Only set the size ourselves if we are on W2K. 2009-12-15 11:43:30 +01:00
Nikolay Sivov 59d250c4a4 kernel32/tests: Fix test failures on NT4. 2009-12-07 14:18:25 +01:00
Paul Vriens c2f5442f2a kernel32/tests: Skip some tests if needed (WinXP Home). 2009-12-04 14:44:11 +01:00
Paul Vriens 0c67d1bddb kernel32/tests: Skip some tests on Win98/WinMe. 2009-12-04 14:44:03 +01:00
Paul Vriens 3b43c4e585 kernel32/tests: Correct some ok() statements. 2009-12-04 14:43:48 +01:00
Nikolay Sivov 8ea4102a6c kernel32/lcformat: Add support for genitive month names in GetDateFormat(). 2009-12-04 14:34:57 +01:00
Paul Vriens be3c97437f kernel32/tests: Add some GetLongPathNameA tests. 2009-12-02 16:08:52 +01:00
Paul Vriens 868d492cf7 kernel32/tests: Fix some intermittent crashes/failures on Vista+. 2009-11-29 16:37:59 +01:00
Alexandre Julliard ac572be030 kernel32/tests: Specify the correct machine for the fake dll file. 2009-11-24 15:53:37 +01:00
Alexandre Julliard 181b3cf07f server: Implement the file sharing check for delete on close with an existing image mapping. 2009-11-23 17:29:22 +01:00
Alexandre Julliard 923d582f07 server: Implement the file sharing check when truncating a file that has an existing mapping. 2009-11-23 17:24:45 +01:00
Alexandre Julliard fd504b6289 server: Implement the special file sharing rules for memory mappings. 2009-11-23 17:10:28 +01:00
Alexandre Julliard 647491418b kernel32/tests: Add more tests for file sharing with mappings, including SEC_IMAGE mappings. 2009-11-20 14:21:31 +01:00
Alexandre Julliard c073ee54c9 kernel32/tests: Add some tests for file sharing against a memory mapping. 2009-11-19 16:16:52 +01:00
Austin Lund f5271ce1e3 kernel32/tests: Fixed test for GetVolumeNameForVolumeMountPoint on directory. 2009-11-16 12:43:07 +01:00
Viliam Lejcik 3dc8b28d84 kernel32: Fix GetCurrencyFormat grouping. 2009-11-11 11:24:09 +01:00
Paul Vriens 159506893b kernel32/tests: Fix some test failures on Win9x/WinMe. 2009-11-10 15:18:05 +01:00
Francois Gouget 5fb3985fa5 Assorted spelling fixes. 2009-11-09 19:42:31 +01:00
Alexandre Julliard 1a3777e2dc ntdll: Reject VirtualAlloc blocks in NtUnmapViewOfSection. 2009-11-04 19:53:00 +01:00
Michael Martin 39d8f13785 kernel32/tests: Additional tests for CopyFile/MoveFile used on mapped files. 2009-11-04 13:17:15 +01:00
Alexandre Julliard 36e56ad1aa kernel32/tests: Fix FormatMessage test failures on various Windows versions. 2009-10-30 11:03:39 +01:00
Alexandre Julliard 0e26e741f7 kernel32: Replicate the MS bug with va_list argument counting in FormatMessage. 2009-10-30 11:03:39 +01:00
Alexandre Julliard 24a8e33fb6 kernel32/tests: Use __ms_va_list in the FormatMessage test. 2009-10-30 11:03:39 +01:00
Alexandre Julliard b353401513 kernel32: Fix handling of width and precision arguments and remove assumptions about va_list implementation in FormatMessage. 2009-10-30 11:03:39 +01:00
Alexandre Julliard 100131d4ca kernel32: Propagate the error result from RtlFindMessage in FormatMessage. 2009-10-30 11:03:39 +01:00
Louis Lenders 1be99033b1 kernel32/tests: Add more tests for FormatMessageA. 2009-10-29 17:07:53 +01:00
Alexandre Julliard 549116bd68 kernel32/tests: Add some tests for width and precision formatting in FormatMessage. 2009-10-29 13:06:12 +01:00
Paul Vriens cde8673339 kernel32/tests: Fix an intermittent test failure on Vista+. 2009-10-23 12:02:54 +02:00
Dan Kegel 4696a53679 kernel32: Fix two little leaks in heap test.
Found by valgrind.
2009-10-21 17:40:19 +02:00
Nikolay Sivov 2b7a3657f7 kernel32/locale: Add support for LOCALE_RETURN_GENITIVE_NAMES for LOCALE_SMONTHNAME* locale data, update Russian nls resource accordingly. 2009-10-21 16:05:57 +02:00
Nikolay Sivov 15c0f0a42d kernel32/tests: Add tests for LOCALE_RETURN_GENITIVE_NAMES flag for GetLocaleInfoW. 2009-10-21 16:05:57 +02:00
Paul Vriens d11df5126d kernel32/tests: Fix some test failures on Win9x/WinMe. 2009-10-14 14:24:29 +02:00
Dmitry Timoshkov 27ebfdb879 kernel32: Implement HeapQueryInformation, add some basic tests for it. 2009-10-12 12:48:03 +02:00
Alexandre Julliard 362ecd06f6 kernel32: Fix handling of overflows in GetPrivateProfileSectionA. 2009-10-08 16:28:17 +02:00
Ge van Geldorp 55423d8df2 kernel32/tests: Check last error before calling lstrcmpA() since it may reset GLE. 2009-10-08 12:03:02 +02:00
Ge van Geldorp 63d77d07dc kernel32/tests: Skip some resource tests on Win7. 2009-10-07 15:20:57 +02:00
Paul Vriens 6d416e6934 kernel32/tests: Don't crash on WinMe. 2009-10-07 12:55:16 +02:00
Ge van Geldorp 6571d1e4a8 kernel32/tests: Add acceptable error codes for Win7 process test. 2009-10-06 12:00:13 +02:00
Ge van Geldorp 4d5059060a kernel32/tests: Fix atom tests on Win7. 2009-10-06 11:59:35 +02:00
Michael Stefaniuc 73d38b047b kernel32/tests: Use better types than long. 2009-10-06 11:57:53 +02:00
Dmitry Kislyuk c81d1e78f7 kernel32/tests: Pass test on error code returned by Windows 7. 2009-10-05 13:46:01 +02:00
Paul Vriens a04e265486 kernel32/tests: Fix some test failures on WinMe. 2009-09-29 14:22:33 +02:00
Stefan Leichter 2c576e88b4 kernel32: Check parameter of CheckRemoteDebuggerPresent with tests. 2009-09-28 12:37:28 +02:00
Alexandre Julliard b9251bcdbf kernel32/tests: Fix a couple of failures in the comm tests. 2009-09-24 13:10:54 +02:00
Ge van Geldorp 160d7dfb91 kernel32/tests: Fix actctx tests on Vista+. 2009-09-15 17:33:50 -05:00
Alexandre Julliard 72241b5d47 ntdll: Make sure that serial ioctl calls fail on non-serial handles. 2009-09-10 11:06:01 +02:00
Alexandre Julliard d916ce2fc9 kernel32/tests: Avoid size_t in traces. 2009-09-02 11:53:06 +02:00
Ge van Geldorp 277585fd11 kernel32/tests: Fix locale tests on Vista and higher. 2009-09-02 10:23:46 +02:00
Alexandre Julliard cb0607ced2 kernel32: Fix the GetThreadPriorityBoost return value. 2009-08-29 16:48:54 +02:00
Ge van Geldorp 40d8c87df2 kernel32/tests: Remove test that crashes on Win7. 2009-08-26 16:33:38 +02:00
Stefan Leichter 88a019956e kernel32: Test GetPrivateProfileString with empty string as key and section. 2009-08-21 13:49:45 +02:00
Alexandre Julliard f3d87838ff kernel32/tests: Use the global wine_dbgstr_w instead of a local variant. 2009-08-19 13:36:36 +02:00
Alexandre Julliard ee868cce5b tests: Make wine_dbgstr_w available in test.h for all tests. 2009-08-19 13:19:31 +02:00
Michael Karcher a0eb2ed413 server: Don't report LOAD_DLL debug event for exe module. 2009-08-17 16:44:14 +02:00
Andrew Nguyen 20276d0b38 kernel32: Revise SetThreadIdealProcessor to return success. 2009-08-07 14:57:31 +02:00
Alexandre Julliard 8c700d2b3b kernel32/tests: Add one more possible error code. 2009-08-05 13:52:42 +02:00
Nicolas Le Cam 5e58b29cfe kernel32/tests: Skip GetVolumeInformation test on current directory when running on a root directory. 2009-08-03 15:04:21 +02:00
Nicolas Le Cam 1975ba276f kernel32/tests: Test GetVolumeInformation when current directory is a root directory. 2009-08-03 15:04:17 +02:00
Alexandre Julliard df6c65623a ntdll: Add support for the MEM_RESET flag in VirtualAlloc, with tests. 2009-07-09 19:31:36 +02:00
Alexandre Julliard 97db90290b kernel32/tests: Avoid using non-ASCII characters in strings. 2009-07-07 13:57:17 +02:00
Francois Gouget 03584b4ff6 Assorted spelling fixes. 2009-06-22 13:32:01 +02:00
Stefan Leichter 57f9236741 kernel32: Implement QueryFullProcessImageNameA. 2009-06-11 13:23:25 +02:00
Guy Albertelli 7c4939cbaa kernel32/tests: Fix tests to pass on Win9x and WinME. 2009-06-11 12:35:17 +02:00
Vincent Povirk b210eeb1ad kernel32/tests: Test waiting on a disconnected client pipe. 2009-06-09 17:01:14 +02:00
Guy Albertelli 5632d2344e kernel32/tests: Fix tests when GetVolumeNameForVolumeMountPoint fails. 2009-06-08 15:27:20 +02:00
Paul Vriens 06ebe936ac kernel32/tests: Only report unimplemented functions once. 2009-06-08 12:44:03 +02:00
Paul Vriens b3e4155a41 kernel32/tests: Fix a test failure on Win9x/WinMe. 2009-06-05 14:43:24 +02:00
Paul Vriens eca3d74877 kernel32/tests: Skip WritePrivateProfileString tests on Win9x/WinME. 2009-06-04 12:11:56 +02:00
Guy Albertelli 25506ca64e kernel32/tests: Add tests for CreateFile errors and opening volumes. 2009-06-03 15:22:52 +02:00
Detlef Riekenberg 8588748bc8 kernel32/tests: Fix failures on localized Windows versions. 2009-06-03 11:27:24 +02:00
Stefan Leichter a37b8f79af kernel32: Added missing newline to win_skip. 2009-06-02 13:10:16 +02:00
Detlef Riekenberg fd0d17ec1c kernel32/tests: Add tests for GetLocaleInfo with SUBLANG_NEUTRAL. 2009-06-02 11:57:21 +02:00
Peter Hedlund 7d47feaebe kernel32: Mask out obsolete flags in GlobalAlloc. 2009-05-28 14:11:32 +02:00
Alexandre Julliard 9ccc9bd6a9 kernel32/tests: Run file tests in the temp directory if we don't have access to the drive root. 2009-05-27 12:47:33 +02:00