aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_ctests.py
AgeCommit message (Collapse)AuthorLines
2022-01-05Add test for FOPEN_NOFLUSH flagAmir Goldstein-0/+5
Simulate write() delay and verify that close(rofd) does not block waiting on pending writes. The support for the flag was added in kernel v5.16-rc1. Signed-off-by: Amir Goldstein <amir73il@gmail.com>
2019-11-20Invoke cleanup() with right arguments.Nikolaus Rath-1/+1
This currently causes hangs if the test fails, cf issue #459.
2019-07-04Fix output checking in test casesNikolaus Rath-6/+8
py.test's capture plugin does not work reliably when used by other fixtures. Therefore, implement our own version.
2018-11-24Kill filesystem process on test cleanup.Nikolaus Rath-1/+1
2017-08-25Fix writeback capability check.Nikolaus Rath-1/+1
2017-08-24Use printcap() to control test executionNikolaus Rath-4/+9
That way, we run only tests that are supported by the running kernel.
2017-08-24Renamed notify_inval_inode_fh to invalidate_pathNikolaus Rath-2/+2
The previous name didn't make much sense.
2017-08-24Allow inode cache invalidation in high-level APISławek Rudnicki-2/+26
We re-introduce the functionality of invalidating the caches for an inode specified by path by adding a new routine fuse_invalidate_path. This is useful for network-based file systems which use the high-level API, enabling them to notify the kernel about external changes. This is a revival of Miklos Szeredi's original code for the fuse_invalidate routine.
2017-08-11Skip tests that aren't supported under FreeBSD.Nikolaus Rath-3/+7
2017-05-25Factored out C-based testsNikolaus Rath-0/+64