Commit Graph

320 Commits

Author SHA1 Message Date
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
Vitaliy Margolen 64896241b8 LoadLibrary should ignore trailing spaces in the library name. 2005-10-18 14:10:56 +00:00
Alexandre Julliard 7886cacbf5 Revert previous change, OF_EXIST really returns HFILE_ERROR. 2005-10-18 10:39:15 +00:00
Detlef Riekenberg 9d7c5911be NT3.51 returns ERROR_MORE_DATA. 2005-10-11 19:58:38 +00:00
Maxime Bellengé 91ff09b679 In case of failure and OF_EXIST is specified, return FALSE instead of
HFILE_ERROR.
2005-10-10 11:19:31 +00:00
Vitaliy Margolen 593ab4cac4 Fix atom tests on win9x. 2005-10-06 11:35:32 +00:00
Eric Pouech c43e416bc3 Added a bunch of test cases for atoms. 2005-09-28 11:58:20 +00:00
Alexandre Julliard 7c1925a0f3 Remove the 'L' suffix on a number of constants to avoid comparison
errors on 64-bit platforms.
2005-09-13 15:00:32 +00:00
Saulius Krasuckas abfe0f2f72 Test passing NULL source to WideCharToMultiByte. 2005-08-18 10:50:46 +00:00
Francois Gouget fae73a1090 Assorted spelling fixes. 2005-08-17 09:56:24 +00:00
Francois Gouget bcd56fe0e5 Assorted spelling fixes. 2005-08-12 18:22:06 +00:00
Francois Gouget 840f594896 Add trailing '\n's to trace() call. 2005-08-10 14:42:48 +00:00
Richard Cohen 8cbf08b5d5 - Fix regression in GetPrivateProfileString16 for key=NULL.
- Check return values in Profile tests.
2005-08-10 12:59:38 +00:00
Uwe Bonnes bd127b0338 More comm tests. 2005-08-03 15:43:46 +00:00
Felix Nawothnig 71a03671b7 Fix sync tests on Win98/ME. 2005-08-01 10:57:13 +00:00
Felix Nawothnig 7c44e00699 Fix module tests on Win9x. 2005-08-01 10:57:04 +00:00
Felix Nawothnig 7eb81fabeb Fix comm tests on Win9x. 2005-07-30 19:04:30 +00:00
Felix Nawothnig 3ccc0a6265 Fix remaining thread tests on WinME. 2005-07-30 19:03:46 +00:00