Commit Graph

63 Commits

Author SHA1 Message Date
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Mike McCormack f4b447aee7 kernel32: Add a short test for GetOverlappedResult. 2006-02-21 11:13:30 +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
Alexandre Julliard ebe727e56d kernel: Make sure the file contains data for the ReadFile test. 2006-01-14 17:08:14 +01:00
Alexandre Julliard 7886cacbf5 Revert previous change, OF_EXIST really returns HFILE_ERROR. 2005-10-18 10:39:15 +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
Jacek Caban 6cb97534dc Fix test on NT 4. 2005-06-27 09:49:26 +00:00
Stefan Huehner ac6f562b52 Fix more -Wstrict-prototypes warnings. 2005-06-20 14:18:03 +00:00
Alexandre Julliard c2d5b444b3 Moved the NONAMELESSUNION/STRUCT macros to wine/test.h so that they
can be used in all the test.
2005-06-13 12:10:54 +00:00
Francois Gouget f5c9da6860 Assorted spelling fixes. 2005-05-06 15:44:31 +00:00
Stefan Leichter e41bd72afc Exclude crashing CreateFileW test on NT4. 2005-04-19 11:59:46 +00:00
Rein Klazes 7308f16b32 Fix some incorrect uses of the ok macro where the result depends on
the evaluation order of its arguments.
2005-03-31 19:07:08 +00:00
Alexandre Julliard 3ea748b7c8 Fetch again the file time to compare against to avoid rounding errors. 2005-03-22 21:14:51 +00:00
Jakob Eriksson caf7aefc65 Fix patching error in file time test. 2005-03-22 16:44:57 +00:00
Dmitry Timoshkov 75b93ff1aa Match OVERLAPPED structure to the SDK definition. 2005-03-17 19:00:08 +00:00
Francois Gouget fbb3343547 Assorted spelling fixes. 2005-03-02 13:53:50 +00:00
Dmitry Timoshkov 405367a44a Add another test case for file sharing. 2005-03-01 10:42:04 +00:00
Francois Gouget 4d801b66e6 Assorted spelling fixes. 2005-02-10 19:19:35 +00:00
Rein Klazes 3714a39867 Correct cases where arguments of ok() calls depend on the order in
which they are evaluated.
2004-12-27 17:26:37 +00:00
Dmitry Timoshkov e04da6bb72 Add a test for ReadFile/WriteFile fault handling, make it pass under
Wine.
2004-11-28 14:58:11 +00:00
Filip Navara c880c41f7a - Don't expect that drive C: exists, use the drive Windows is
installed on instead.
- Remove misleading message about file mapping.
2004-08-30 18:40:20 +00:00
Robert Shearman eee6adc9b6 - Errors should only be reported to I/O completion routine after
NtReadFile has succeeded.
- Test case for this behaviour.
2004-08-19 02:34:51 +00:00
Mike Hearn 95012151f9 Correct error code returned by CreateFile when given a non-existent
VxD on NT, add a test case.
2004-07-06 21:31:24 +00:00
Dmitry Timoshkov b6dae78bac Avoid a failure under Win9x. 2004-05-25 00:20:50 +00:00
Dmitry Timoshkov 8811628cff Add a test for opening an already opened file for writing in a not
compatible sharing mode.
2004-05-22 03:14:17 +00:00
Jakob Eriksson c49b9485df Fixed tests to succeed on all Windows versions. 2004-04-28 03:52:02 +00:00
Alexandre Julliard 115862146a Removed todo_wine from some tests that succeed now. 2004-04-27 02:27:47 +00:00
Jakob Eriksson 960104b249 When the Windows directory was something else than C:\WINDOWS
test_GetTempFileNameA() failed.
2004-04-22 23:44:14 +00:00
Francois Gouget 52c0832161 Make Unicode strings static const. 2004-04-20 01:12:17 +00:00
Alexandre Julliard 743997fa38 Replace the get_file_info request by an fstat() on the client side. 2004-04-08 04:39:59 +00:00
Alexandre Julliard c4c4da4e07 Reimplemented DeleteFile by using CreateFile with
FILE_FLAG_DELETE_ON_CLOSE. Added/fixed a few tests.
2004-04-03 00:05:24 +00:00
Alexandre Julliard 74bd1e47ed Check file sharing permissions based on the file inode instead of the
file name.
Added regression test for sharing permissions.
2004-03-27 20:48:42 +00:00
Alexandre Julliard 8f032165c4 Reimplemented FindFirstFile/FindNextFile on top of
NtQueryDirectoryFile.
2004-03-17 20:57:09 +00:00
Dmitry Timoshkov 13081af50a Allow compilation with MSVC. 2004-02-09 20:48:12 +00:00
Francois Gouget ce7c3b50ac Add trailing '\n's to ok() calls. 2004-01-27 20:13:03 +00:00
Mike Hearn 517248d7bc - Ensure we correctly add a backslash like Windows 98/XP do.
- Generate filenames that look like Windows does (no left digit
  padding).
2004-01-16 04:49:13 +00:00
Mike McCormack f7b47f7a5c Regression test for files with zero length. 2004-01-09 00:34:37 +00:00
Hans Leidekker 513670551b MoveFile returns ERROR_ALREADY_EXISTS, not ERROR_FILE_EXISTS. 2003-12-15 20:15:20 +00:00
Hans Leidekker 7499242fd3 Include tests for MoveFile[W|A]. 2003-12-08 22:21:20 +00:00
Ferenc Wagner 4b28f0f9c6 Account for unique NT4 behaviour.
Better error message.
2003-10-21 23:42:50 +00:00
Jon Griffiths 90535ce905 Various test fixes for XP/msvc. 2003-09-25 20:29:40 +00:00
Rolf Kalbermatter fddc4ec7b4 Fix another error under Win9x (hopefully). 2003-09-17 04:18:09 +00:00
Alex Pasadyn 33854afbe0 - Use HeapAlloc instead of GlobalAlloc in FindNextFile.
- Add test for FindNextFile that checks last error value.
2003-09-16 01:22:05 +00:00
Rolf Kalbermatter d4f1381154 Added a few todo_wine tests with filenames with wildcards. 2003-09-16 01:19:21 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Jon Griffiths 7d75c147a2 Fix MSVC warning. 2003-07-19 03:06:19 +00:00
Ferenc Wagner 18f7bfb42e New _lcreat tests for filename ending in a slash and volume label
attribute.
2003-05-19 21:50:32 +00:00
Uwe Bonnes 0de21b651e FindFirstFile on root directory should fail. 2003-04-17 02:10:04 +00:00
Alexandre Julliard ce61349334 Implemented file locking functions (partly based on my old Corel
patch). Added a few regression tests.
2003-03-18 05:04:33 +00:00
Alexandre Julliard b7a8eefb2b Authors: Francois Gouget <fgouget@free.fr>, With help from Enio Schutt Jr <enio.s.jr@operamail.com>
Skip the overlapped I/O tests on files on Win9x.
2003-02-11 22:11:56 +00:00