History log of /src/tests/fs/vfs/t_vnops.c |
Revision | | Date | Author | Comments |
1.63 |
| 08-May-2023 |
andvar | fix the grammar in comments reported by Jim Spath in misc/57397.
|
1.62 |
| 01-Feb-2022 |
martin | Test mkdir(2) with one or more trailing slashes - this currently fails for v7fs.
|
1.61 |
| 16-Sep-2021 |
andvar | fix typos in word "successfully", mainly s/succesfully/successfully/.
|
1.60 |
| 19-Aug-2021 |
andvar | s/memry/memory+s/softare/software/+s/grapics/graphics+s/ouput/output
|
1.59 |
| 13-Jan-2017 |
christos | Don't play with "../.." in includes for h_macros.h; deal with it centrally. Minor fixes.
|
1.58 |
| 29-Aug-2016 |
kre | PR kern/49033
POSIX allows for the atime (or technically, any of the times) to be updated as a side effect of searching a directory (allows, not requires). The NetBSD UDF implementation apparently works that way, treating a directory search as a read of the directory, and hence updating the access time. Compensate for that in the test (rather than just expecting failure) by verifying that the atime after the directory search is within a small margin of the atime before the search (currently, "small" is 1 second). We could fetch the time before the mkdir and both stat() calls, do all of that, fetch the time after, subtract, and require the after stat() atime to be bounded by the atime set by the original mkdir and returned in the first stat() and that time + the difference in elapsed time - that would be more accurate, but is a lot more work for little real benefit.
Should anyone be interested in doing that extra work, remember to use monotonic time (clock_gettime(CLOCK_MOMNOTONIC, ...)) not the time of day clock for measuring the elapsed time.
Along with this, remove the "if (udf) failure expected" and the if (udf && we haven't failed yet) fail("random failure failed to happen") stuff... (the "random" would have been that sometimes the mkdir and two lookups (stat() calls) would all occur within the same clock tick, meaning that the atimes would all be the same. Other times the clock would tick somewhere between the mkdir() and the 2nd stat().)
|
1.57 |
| 21-Aug-2016 |
christos | fix wrong variable.
|
1.56 |
| 20-Aug-2016 |
christos | - use snprintf - print the argument that caused the error
|
1.55 |
| 28-Jan-2016 |
martin | branches: 1.55.2; The test for PR 50608 works now, remove the expected failure.
|
1.54 |
| 14-Jan-2016 |
gson | Don't use a filename with an embedded newline in the create_many test case. Instead, add a separate test case "create_nonalphanum" for filenames containing non-alphanumeric characters. The bug of PR kern/50608 now causes a failure in create_nonalphanum rather than create_many.
|
1.53 |
| 13-Jan-2016 |
pooka | create_many: remove PR kern/50607 xfail
Seems to have been fixed by ext2fs_lookup.c 1.79 (thanks, riastradh)
|
1.52 |
| 02-Jan-2016 |
pooka | create_many: * add xfails for ext2 and udf * don't try to create a subdirectory for sysvbfs
|
1.51 |
| 01-Jan-2016 |
pooka | use a shorter filename template in previous (for v7fs)
|
1.50 |
| 01-Jan-2016 |
pooka | Add a test which creates many directory entries.
|
1.49 |
| 09-Apr-2015 |
riastradh | Advisory locking for zfs.
|
1.48 |
| 09-Apr-2015 |
riastradh | Fix vattr_init_mask: mode is mode_t, not u_short.
Fixes fs/vfs/t_vnops:zfs_attrs test.
|
1.47 |
| 09-Apr-2015 |
riastradh | Tests claim rename(..., "x/.") yields EISDIR, so do that. Fixes zfs.
|
1.46 |
| 09-Apr-2015 |
riastradh | Fix return code of rmdir(nonempty) in zfs: ENOTEMPTY, not EEXIST.
|
1.45 |
| 24-Mar-2015 |
riastradh | Make this run in NetBSD 6 by using st_mtimespec instead of st_mtim.
st_mtimespec is our traditional nonstandard name for what POSIX called st_mtim in 2008, but these aren't going to run in non-NetBSD anyway so using the nonstandard name shouldn't be an issue.
|
1.44 |
| 29-Dec-2014 |
hannken | Test v7fs_lstat_symlink is no longer expected to fail.
|
1.43 |
| 09-Sep-2014 |
gson | Mark v7fs_lstat_symlink as an expected failure, referencing PR kern/48864.
|
1.42 |
| 07-Sep-2014 |
gson | Add a test of symlinks with long targets.
|
1.41 |
| 12-Aug-2014 |
gson | Mark udf_lookup_complex as an expected failure, referencing PR kern/49033. Since it does not fail reliably, force it to fail to avoid spurious failure reports due to unexpected success.
|
1.40 |
| 25-Jul-2014 |
martin | branches: 1.40.2; PR kern/49033: try to provide better diagnostics if the udf_lookup_complex test randomly fails.
|
1.39 |
| 03-Jun-2014 |
njoly | Add testcase that check lstat(2) values for symbolic links (PR kern/48864).
|
1.38 |
| 19-Oct-2013 |
christos | branches: 1.38.2; fix unused variable warnings
|
1.37 |
| 28-Jul-2013 |
njoly | Check that rename(2) with NULL arguments fail with EFAULT.
|
1.36 |
| 10-Jul-2013 |
reinoud | Update test cases for UDF now udf_rename() uses the genfs_rename framework
|
1.35 |
| 08-Jul-2013 |
reinoud | Cover the last failing UDF test cases with a reference to PR kern/47986, i.e. all rename's fail until UDF switches over to the new rename framework solving the locking mechanism.
|
1.34 |
| 16-Mar-2013 |
jmmv | Mark a bunch of routinely-broken ZFS tests as expected failures. Point them at PR kern/47656.
|
1.33 |
| 20-Mar-2012 |
njoly | branches: 1.33.2; Remove unneeded atf_tc_expect_pass calls.
|
1.32 |
| 19-Mar-2012 |
pgoyette | Finish removing the block of commented-out code from rev 1.31
Hello, christos!
|
1.31 |
| 18-Mar-2012 |
christos | annotate fixed failures as comments.
|
1.30 |
| 12-Dec-2011 |
njoly | Start making fs read(2) fail with EISDIR if the implementation does not allow read on directories (kernfs, rumpfs, ptyfs and sysvbfs). Adjust man page accordingly, and add a small corresponding vfs testcase.
|
1.29 |
| 08-Oct-2011 |
njoly | branches: 1.29.2; Slightly adjust skipped messages, makes output more consistent.
|
1.28 |
| 19-Aug-2011 |
riastradh | Add test for `ln -s / foo && cd foo'.
|
1.27 |
| 11-Aug-2011 |
uch | add ATF tests for v7fs. patch by njoly@. thank you.
|
1.26 |
| 23-Jul-2011 |
alnsn | Don't assume that "first lock that blocks" is a lock with the lowest start offset and change the test to work when F_GETLK returns any lock that blocks.
|
1.25 |
| 20-Jul-2011 |
hannken | Even though msdosfs never truncates file names it advertises _PC_NO_TRUNC as zero. Make it advertise one (no_trunc == true).
Names longer than NAME_MAX (255) will never pass namei() btw.
Fixes PR #43670 (msdosfs claims support for filenames longer than {NAME_MAX}, but fails)
|
1.24 |
| 30-May-2011 |
martin | Remove "expected failure" for tmpfs PRs that are now fixed.
|
1.23 |
| 01-Apr-2011 |
hannken | Make zero length symlinks work on tmpfs.
Fixes PR #43843 (tmpfs dies with kassert panic for 0 length symlink target)
|
1.22 |
| 19-Mar-2011 |
hannken | Remove a vnode reference leak from msdosfs_rename. Release tdvp if either doscheckpath() or relookup() fails.
Adjust test fs/vfs/t_vnops.c and remove the link count test for msdos.
Fixes PR #44661
|
1.21 |
| 03-Mar-2011 |
pooka | Apparently my last commit to msdosfs_vnops.c fixed the (harmless?) buffer overrun in rename (>15 years old bug), so re-enable other msdosfs rename tests too.
|
1.20 |
| 01-Mar-2011 |
pooka | msdosfs xfail for PR kern/44661
|
1.19 |
| 01-Mar-2011 |
pooka | xfail dir_rmdirdotdot for tmpfs (PR kern/44657)
|
1.18 |
| 01-Mar-2011 |
pooka | Rmdir the dir you're in and its parent and try to cd .. Fails on tmpfs (crash), puffs (cd .. succeeds) and rumpfs (cd .. succeeds).
another testcase derived from the bugfinding genious of Taylor R Campbell
|
1.17 |
| 01-Mar-2011 |
pooka | Comment out msdosfs skip -- i'm not sure if it will still fail with the "stack size" problem, but at least it fails due to yet another refcounting snafu in the msdosfs rename method.
|
1.16 |
| 01-Mar-2011 |
pooka | augment rename test case with the failure from PR kern/44288
|
1.15 |
| 28-Feb-2011 |
pooka | Add simple test case for access(2), including panicky scenario from PR kern/44648.
|
1.14 |
| 22-Feb-2011 |
yamt | add some tests
|
1.13 |
| 31-Jan-2011 |
pooka | Add test case for F_GETLK pid-oddness from PR kern/44494.
I found the test case a little difficult to understand (because of many indices), so I added a few more comments after I think I figured out what was going on.
|
1.12 |
| 11-Jan-2011 |
kefren | branches: 1.12.2; add test for kern/43321, blessed by pooka@
|
1.11 |
| 04-Jan-2011 |
pooka | Check that file attributes can be changed (where applicable).
|
1.10 |
| 11-Nov-2010 |
pooka | skip tests which use features which rumpfs does not support (namely: vop_rename and a file system size limit)
|
1.9 |
| 09-Sep-2010 |
njoly | s/dirs/symlinks/ in USES_SYMLINKS message.
|
1.8 |
| 06-Sep-2010 |
pooka | fill in PR number: kern/43843
|
1.7 |
| 06-Sep-2010 |
pooka | symlink to a zero-len target (and watch tmpfs go kabloom)
|
1.6 |
| 01-Aug-2010 |
mlelstv | The erroneous error codes described in kern/43616 have been fixed.
|
1.5 |
| 26-Jul-2010 |
njoly | Add create and rename testcases to exercize filenames longer than {NAME_MAX}.
|
1.4 |
| 19-Jul-2010 |
pooka | convert to newstyle automagic rump compat syscalls
|
1.3 |
| 16-Jul-2010 |
pooka | Some of the msdosfs tests are killed by SSP due to stack limit being exceeded. I cannot figure out what is going on by code reading, nor repeat this either on my desktop or in qemu, so skip those tests for msdosfs until I can get to the bottom of it.
|
1.2 |
| 14-Jul-2010 |
pooka | Add an assortment of rename tests. Not complete, but at least tests something.
This contains the tests for PR kern/43616 and PR kern/43617.
|
1.1 |
| 13-Jul-2010 |
pooka | Add a few simple basic-level tests for vnodeops. They don't cover corner-cases, but make sure things at least superficially work (which they always don't). More to come...
|
1.12.2.2 |
| 05-Mar-2011 |
bouyer | Sync with HEAD
|
1.12.2.1 |
| 08-Feb-2011 |
bouyer | Sync with HEAD
|
1.29.2.2 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
1.29.2.1 |
| 17-Apr-2012 |
yamt | sync with head
|
1.33.2.2 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.33.2.1 |
| 23-Jun-2013 |
tls | resync from head
|
1.38.2.1 |
| 10-Aug-2014 |
tls | Rebase.
|
1.40.2.1 |
| 17-Jan-2015 |
martin | Pull up following revision(s) (requested by gson in ticket #424): tests/fs/vfs/t_vnops.c: revision 1.41 Mark udf_lookup_complex as an expected failure, referencing PR kern/49033. Since it does not fail reliably, force it to fail to avoid spurious failure reports due to unexpected success.
|
1.55.2.1 |
| 20-Mar-2017 |
pgoyette | Sync with HEAD
|