Commit Graph

104 Commits

Author SHA1 Message Date
Piotr Caban 77f3ce0b10 msvcrt: Added fputwc tests. 2013-01-11 12:04:12 +01:00
Piotr Caban 777f349829 msvcrt: Added read tests on unicode files. 2013-01-10 12:29:33 +01:00
Piotr Caban 62bd615452 msvcrt: Added more read tests. 2013-01-10 12:29:02 +01:00
Piotr Caban f93259b305 msvcrt: Added _setmode tests. 2013-01-10 12:28:57 +01:00
Piotr Caban 5778bdbc3a msvcrt: Added write tests on unicode files. 2013-01-10 12:28:09 +01:00
Piotr Caban 617bf861ef msvcrt: Added fopen_s test with ccs option. 2013-01-10 12:27:42 +01:00
Piotr Caban bcf4467b86 msvcrt: Return error in stat function when path is specified with trailing slash character. 2012-12-27 17:15:39 +01:00
Robert van Herk 516bb0ba64 msvcrt: Fix file mode T (temporary file). 2012-03-28 11:47:13 +02:00
Akihiro Sagawa cf7479ca85 msvcrt: Add support for _flushall to clear all input buffer. 2012-03-14 12:59:11 +01:00
Akihiro Sagawa 1a01893c74 msvcrt: Add support for fflush to clear an input buffer. 2012-03-14 12:59:10 +01:00
Akihiro Sagawa 09a7f8c196 msvcrt/tests: Add tests for fflush on input stream. 2012-03-14 12:59:09 +01:00
Piotr Caban c39793087d msvcrt: Handle negative file->_cnt value in _flsbuf function. 2012-02-07 09:32:20 -06:00
Frédéric Delanoy 3274475299 msvcrt/tests: Remove dead assignments (Clang). 2011-09-28 12:38:21 +02:00
Frédéric Delanoy 760faf01a9 tests: Assorted spelling fixes. 2011-08-04 18:27:37 +02:00
Austin English 1197b5e3e3 msvcrt/tests: Make sure to use return values. 2011-08-03 19:00:11 +02:00
Eric Pouech a42bf0134c msvcrt: ungetc must create a buffer, even if _IONBF has been set with setvbuf. 2011-04-25 11:39:57 +02:00
Eric Pouech dc9904a338 msvcrt: Added tests in fileops with different buffer management modes. 2011-04-25 11:39:54 +02:00
André Hentschel 188b3ae1b1 msvcrt/tests: Don't test function directly when reporting errno. 2011-02-25 11:05:17 +01:00
Alexandre Julliard 45a8b643cd msvcrt/tests: Avoid sizeof in traces. 2010-11-17 15:08:03 +01:00
Eryk Wieliczko c9bd269db1 msvcrt: Fixed (_w)fopen_s with test. 2010-11-11 14:19:38 +01:00
Francois Gouget 1f07f583cf msvcrt/tests: Make test_dup2() static. 2010-06-22 20:03:49 +02:00
Alexandre Julliard ba7cbccfcb msvcrt/tests: Avoid size_t in a trace. 2010-02-16 15:50:32 +01:00
Uwe Bonnes 0d16965832 msvcrt: read_i should pull in LF after CR only in unbuffered mode. 2010-01-28 15:30:26 +01:00
Uwe Bonnes e6f1ae029e msvcrt: Handle CR at buffer boundary and test case. 2010-01-18 15:32:53 +01:00
Jeff Zaroyko c2459deeff msvcrt: Check if argument passed to _dup2 is positive. 2010-01-14 09:41:43 -06:00
Jeff Zaroyko f4e5ab4892 msvcrt/tests: Test _dup2 for failure when second arg is negative. 2010-01-14 09:41:30 -06:00
Uwe Bonnes 5926277473 msvcrt: In unbuffered text mode reading \r\n with fgetc fails. 2010-01-11 13:39:54 -06:00
Nikolay Sivov e5e17ca438 msvcrt/tests: Free temporary file name after test. 2009-12-07 14:18:27 +01:00
Alexandre Julliard da2db26dec msvcrt/tests: Add tests for the handle inheritance block.
Based on a patch by André Hentschel.
2009-09-10 15:29:35 +02:00
Alexandre Julliard 82f175e9b5 msvcrt: Replace long by MSVCRT_long. 2009-05-23 11:57:39 +02:00
Juan M. Navarro c9b40bff32 msvcrt/tests: Avoid size_t in printf format. 2009-02-18 15:03:30 +01:00
Francois Gouget f250f4fa04 Assorted spelling fixes. 2009-02-11 15:56:02 +01:00
Francois Gouget 4ee530b2a7 msvcrt/tests: Remove a space before a '\n'. 2009-01-30 14:05:56 +01:00
Dan Kegel 7f3c70c52f msvcrt: Remove CRs earlier in ascii mode in fseek, too. 2009-01-29 12:21:11 +01:00
Dan Kegel 5bf1ae82f1 msvcrt: _flsbuf zeroes _cnt. 2009-01-29 12:20:44 +01:00
Uwe Bonnes d0e77f8a47 msvcrt/tests: Test case to show Wine still mishandles file text mode. 2009-01-28 14:36:52 +01:00
Dan Kegel ebe4a9e321 msvcrt: Remove CRs earlier in ascii mode. 2009-01-19 13:36:26 +01:00
Alexandre Julliard 2cf2c4568f msvcrt/tests: Fix some printf formats for 64-bit. 2009-01-03 20:24:10 +01:00
Michael Stefaniuc a4c2a0ee20 msvcrt/tests: Use the C standard for multiline strings. 2008-12-23 18:51:20 +01:00
Alexandre Julliard d77eba57f1 msvcrt/tests: Avoid sizeof in a trace. 2008-12-20 13:33:08 +01:00
Francois Gouget 9a911f5443 msvcrt/tests: Add a trailing '\n' to an ok() call. 2008-12-17 15:27:20 +01:00
Dan Kegel 72ffe1da67 msvcrt: fread: Exhaust buffered data before using unbuffered data in ascii mode. 2008-12-16 14:23:40 +01:00
Francois Gouget 33dd86d05c msvcrt/tests: Add a trailing '\n' to ok() calls. 2008-12-12 11:40:53 +01:00
Francois Gouget e766985b20 msvcrt: Fix the permissions returned by fstat*() (with test). 2008-12-10 10:47:34 +01:00
Francois Gouget 266ee43e23 msvcrt/tests: Add a stat() test. 2008-12-10 10:47:23 +01:00
Francois Gouget 5f8c3b4a38 msvcrt/tests: Stricter fstat() tests.
Don't allow fstat() to fail for no reason.
Better check the st_mode field.
2008-12-10 10:47:19 +01:00
Jeff Zaroyko 22a33168c9 kernel32: Modify DeleteFileW to fail on directories. 2008-09-18 12:32:57 +02:00
Rob Shearman 0848a19ec0 msvcrt: Fix character count passed into fgetws in test_fileops. 2008-09-17 12:02:02 +02:00
Jeff Zaroyko c7093febab msvcrt: Add a test for unlinking non-empty directories. 2008-08-27 13:21:23 +02:00
Michael Karcher 5f2159e806 msvcrt/file: stdio should clamp characters to 8 bits. 2008-08-19 13:04:44 +02:00