Commit Graph

337 Commits

Author SHA1 Message Date
Detlef Riekenberg 839f00a967 kernel: Fix handling of invalid parameter in GlobalSize(). 2006-03-31 17:38:49 +02:00
Detlef Riekenberg 1a81f4ff8a kernel: Fix handling of invalid parameter in GlobalFlags(). 2006-03-30 12:45:00 +02:00
James Hawkins 61c3bb03a0 kernel: Error out of CreateProcess if the specified current directory
doesn't exist.
2006-03-27 11:54:32 +02:00
Detlef Riekenberg 213cee62b5 kernel: Load QueueUserWorkItem function dynamically. 2006-03-23 17:06:55 +01:00
Bryan Mayland 98fd541de8 kernel: WaitForMultipleObjectsEx should accept up to MAXIMUM_WAIT_OBJECTS. 2006-03-22 11:19:09 +01:00
Robert Shearman 6f2b0fbf94 kernel: Add a test for QueueUserWorkItem. 2006-03-21 16:19:06 +01:00
Detlef Riekenberg dcbfa1179d kernel: Avoid heap corruption on invalid parameter in GlobalFree(). 2006-03-20 12:26:53 +01:00
Alexandre Julliard 13c2f4742f kernel: Avoid infinite waits in directory change tests. 2006-03-20 12:26:14 +01:00
Eric Pouech 6b95c0e4b4 kernel32: ClearCommError.
ClearCommError should only deal with *communication* errors (are being
seen on the serial interface) rather than API errors (which can be
reported to the caller by the API itself).  I then removed all the
stuff related to storing the error status in the server object.
2006-02-27 13:54:43 +01:00
Mike McCormack 54dfdb9b00 kernel32: Add a simple test for recursive notification. 2006-02-21 11:14:00 +01:00
Mike McCormack f4b447aee7 kernel32: Add a short test for GetOverlappedResult. 2006-02-21 11:13:30 +01:00
Mike McCormack a2813f7c2e server: Distinguish between a directory and a file changing in
ReadDirectoryChangesW.
Add a test for it.
2006-02-20 12:28:46 +01:00
Stefan Leichter ba3fb48657 kernel: Fix a GetDiskFreeSpaceExA test for cd/dvd drives. 2006-02-10 14:52:40 +01:00
Jeremy White 4539658531 kernel: Fixed build with gcc 2.95. 2006-02-09 17:45:07 +01:00
Mike McCormack 7a61f086f1 kernel32: More test cases for ReadDirectoryChangesW. 2006-02-07 16:50:44 +01:00
Stefan Leichter acb52e5272 kernel: Added a test for QueryDosDeviceA. 2006-02-06 11:57:02 +01:00
Eric Pouech dccd41a88a kernel: Fixed regression in atom handling.
Added proper tests (local & global functions).
2006-02-06 11:26:57 +01:00
Mike McCormack 9e2b6687f6 kernel: Add some test cases for ReadDirectoryChangesW. 2006-01-31 12:22:24 +01:00
Mike McCormack bd185ff3de kernel: Add some more tests for FindFirstChangeNotification. 2006-01-30 18:14:12 +01:00
Alexandre Julliard 8b0feb253b server: Make the FILE_SHARE_DELETE sharing checks depend on DELETE
access instead of on the FILE_DELETE_ON_CLOSE flag (based on a patch
by Mike McCormack).
2006-01-27 15:50:38 +01:00
Hans Leidekker b825b8ba3c kernel: Test moving a directory that has a change notification
registered for itself.
2006-01-25 13:13:58 +01:00
Detlef Riekenberg 4cfc3874df kernel/tests: Integer atoms return different results on WinNT 3.51. 2006-01-23 11:23:50 +01:00
Alexandre Julliard ebe727e56d kernel: Make sure the file contains data for the ReadFile test. 2006-01-14 17:08:14 +01:00
Robert Shearman 9cc41d278f kernel32: Fix GlobalReAlloc for size = 0.
GlobalReAlloc should return NULL if the requested size is 0, the block
is moveable and it is locked, but otherwise it should return the
original memory block.
2006-01-12 11:55:25 +01:00
Mike McCormack 3066397bab kernel: Trying to lock an empty global memory block gives an ERROR_DISCARDED. 2006-01-09 17:16:32 +01:00
Eric Pouech 70342dbc61 kernel32: Implemented atoms query function on top of ntdll ones. 2006-01-03 17:35:01 +01:00
Eric Pouech 8218d91758 kernel/tests: Check that we successfully open the console. 2005-12-22 13:55:03 +01:00
Vitaliy Margolen b05340a523 ntdll: Implement FSCTL_PIPE_WAIT NtFsControlFile ioctl.
Implement FSCTL_PIPE_WAIT NtFsControlFile ioctl.
Modify WaitNamedPipeW to use NtFsControlFile.
Replace struct overlapped with event.
2005-12-14 11:14:02 +01:00
Alexandre Julliard a510a7e117 server: Added access rights mapping to file objects. 2005-12-12 16:46:17 +01:00
Alexandre Julliard 45693738e6 kernel: Added a basic test for exception handling in threads. 2005-12-05 20:43:33 +01:00
Vitaliy Margolen babfa79436 Move named pipe objects into directory name space.
Change tests accordingly.
Add small test for WaitNamedPipe.
2005-12-05 13:09:35 +01:00
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
Alexandre Julliard e968628e6a Avoid setting the context before the thread has started running, it's
broken on most Windows versions.
2005-11-18 15:06:38 +00:00
Alexandre Julliard ba2cb7c97b Added a few more Unicode digits from Unicode version 4.1. 2005-11-18 12:15:59 +00:00
Detlef Riekenberg f81694cc0c Made test loadable on NT 3.51 again (GetDiskFreeSpaceExA not present). 2005-11-15 16:53:09 +00:00
Paul Vriens 17cbf1cbca Corrected last error information.
Make sure we can run the tests on win9x.
2005-11-15 12:00:41 +00:00
Eric Pouech ca4ae96f33 NtReadFile: now returning correct status in NtReadFile for EOF
conditions (on files) and broken pipe (on named pipes).
2005-11-14 15:11:11 +00:00
Eric Pouech ff6d30e485 Fix set_test_val function declaration to ensure stack is left
untouched.
2005-11-14 11:23:11 +00:00
Paul Vriens 7aa2e18c29 Add some extra error information. 2005-11-12 19:11:05 +00:00
Phil Lodwick bf8319fdd5 prefix can be NULL for GetTempFileNameW. 2005-11-12 19:09:06 +00:00
Francois Gouget 2adb302a99 Add trailing '\n's to ok() and TRACE() calls. 2005-11-10 11:17:38 +00:00
Saulius Krasuckas 63f8bdaa4e Add error code valid for Win9x and XP. 2005-11-10 11:16:20 +00:00
Saulius Krasuckas 7ff494101a Take into account some alignment done by HeapAlloc() on Win9x. 2005-11-08 16:09:44 +00:00
Alexandre Julliard 73c72390f8 Fixed Get/SetThreadContext to work properly on suspended threads.
Added a test case.
2005-11-02 20:54:12 +00:00
Saulius Krasuckas f91b3ae3e4 Test CreateThread() for reception of NULL pointer to TID. 2005-10-28 10:41:57 +00:00
Saulius Krasuckas d2e0d5e8bd Don't send a CTRL_C_EVENT signal to console if we are on Win9x and
console signal handler is set to NULL.
2005-10-28 10:40:42 +00:00
Saulius Krasuckas 02a810f10c Add a test for GetThreadExitCode.
Use GetModuleHandleA as kernel32 should be present on every system.
2005-10-28 09:40:09 +00:00
Uwe Bonnes 457ece155f Test for argv handling. 2005-10-27 10:25:49 +00:00
Vitaliy Margolen c3bb842237 Test for return value from CreateDirectory("c:"). 2005-10-26 10:08:20 +00:00
Rein Klazes 551ef36517 In GetDiskFreeSpace:
- only cap the total size and available size to 2GB in Win3.x thru
  WinME;
- in that case adjust number of clusters to be less then 65536 by
  increasing the cluster size;
- add corresponding tests.
2005-10-20 11:36:40 +00:00