Commit Graph

19 Commits

Author SHA1 Message Date
christos fbf9c51ff3 fix misplaced paren 2019-07-16 21:13:28 +00:00
martin 653f037ebe PR misc/54382: whenever open(2) is called with O_CREAT, make sure to
pass an open mode argument.
2019-07-16 17:29:17 +00:00
christos c54cb81102 Don't play with "../.." in includes for h_macros.h; deal with it centrally.
Minor fixes.
2017-01-13 21:30:39 +00:00
riastradh a26f29c67f Fix remaining read(fd, NULL, 1) cases. 2015-04-04 12:34:44 +00:00
riastradh a9b674d150 Let I/O errors override inode update errors in UFS.
Fixes tests/fs/vfs/t_io:read_fault for UFS.
2015-03-28 17:45:47 +00:00
riastradh 7fc64193c5 This doesn't affect p2k_ffs after all, no idea why yet. 2015-03-28 16:39:31 +00:00
riastradh 9707ebf68d Test that read fails with EFAULT even if O_SYNC|O_RSYNC are set. 2015-03-28 16:17:25 +00:00
pooka 40df3663d1 tests for i/o-after-unlink 2013-08-04 11:02:02 +00:00
pooka 16eee2303a Fix the test for rumpfs on amd64 by adding a creation mode to open().
thanks to gson for the prod.
2013-06-12 12:08:08 +00:00
njoly 299c989a28 Remove unneeded atf_tc_expect_pass calls. 2012-03-20 18:20:49 +00:00
jruoho 128cf91305 Remove xfail. 2012-03-20 05:21:45 +00:00
njoly 3b61a87b12 Add a small testcase that shrink a file using 2 consecutive ftruncate
calls.
2011-02-27 15:16:31 +00:00
pooka 6ebb7d5324 add a few overwrite-related tests 2011-02-02 14:42:15 +00:00
pooka 3f6d82acd0 Give this a chance of working on non-4kB pagesize.
from martin's sparc64 test run
2011-01-03 09:35:33 +00:00
pooka 7dce29201f Guess-fix a signed vs. unsigned compiler warning report by pgoyette
(it doesn't trigger in my src working copy for whatever reason).
2011-01-01 20:43:01 +00:00
pooka 4a54a2b61f fill in number of PR kern/44307 2011-01-01 20:30:56 +00:00
pooka 69eba09f50 Check that extending a file grows its size (with and without O_APPEND). 2011-01-01 20:26:22 +00:00
pooka 1a160862e8 use atf interfaces for error reportage 2010-11-11 16:03:55 +00:00
pooka 909673cfa9 Start adding some I/O tests. This one does a sparse write to the
second page on a file, then writes the first, and finally checks
it can read something expected.  Adapted the from program supplied
by yamt in PR kern/36429.
2010-08-19 02:36:02 +00:00