aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_examples.py
AgeCommit message (Collapse)AuthorLines
2017-04-07Added tst_unlink()Nikolaus Rath-0/+13
To check for unlink() support without requiring create()/mknod().
2017-04-07tst_mkdir(): factor out tst_rmdir()Nikolaus Rath-3/+14
This allows testing a filesystem that offers mkdir(), but no rmdir() (and vice versa).
2017-04-07Rename tst_unlink() to tst_open_unlink()Nikolaus Rath-4/+4
This makes more sense, since we are specifically checking unlinking of an open file.
2017-04-07tst_readdir(): don't require create/mkdir supportNikolaus Rath-3/+3
By creating the files in the lower filesystem, we can test readdir() even for filesystems that don't implement create() or mkdir().
2017-01-12Added experimental support for building with Meson+NinjaNikolaus Rath-1/+1
2017-01-10Skip tests if not root and no setuid fusermount3.Nikolaus Rath-1/+3
2016-12-23Added documentation and test case for null exampleNikolaus Rath-0/+22
2016-10-24Fix segfault in debug logging codeNikolaus Rath-1/+4
fi may be NULL, so we need to protect against this.
2016-10-20fuse_new(): don't accept options that don't make sense for end-usersNikolaus Rath-2/+0
Several options (use_ino, etc) depend on the file system implementation. Allowing them to be set from the command line makes no sense.
2016-10-15Unify handling of fuse_conn_info optionsNikolaus Rath-10/+5
Instead of using command line options to modify struct fuse_conn_info before and after calling the init() handler, we now give the file system explicit control over this.
2016-10-13tests: use freshly-build fusermount (instead of system version)Nikolaus Rath-2/+1
When running tests as non-root, make fusermount setuid root.
2016-10-13Only test writeback cache if kernel is recent enough.Nikolaus Rath-1/+5
2016-10-10Fix race condition in notify_* examplesNikolaus Rath-13/+8
The fix in commit cf4159156b was incomplete. While some false positives are caused by sleep() in the file system taking longer than expected, there was also a race condition where the file system would run before the contents are initialized properly.
2016-10-10Added write cache tests.Nikolaus Rath-0/+12
2016-10-09Added cuse unit test.Nikolaus Rath-0/+39
2016-10-09Increase timeouts in notify_* testsNikolaus Rath-8/+14
When running under Valgrind, we otherwise get sporadic test failures.
2016-10-09Renamed timefsN examples to fuse_notify_*Nikolaus Rath-4/+6
This should make it more obvious at first glance what the different examples do.
2016-10-09Renamed ioctl and poll examplesNikolaus Rath-6/+6
The new names should make it more obvious at first glance what each example demonstrates.
2016-10-09Renamed some examples to make their function more obviousNikolaus Rath-36/+9
Also, added more comments for the same purpose.
2016-10-08Added timefs3 to test notify_inval_entry.Nikolaus Rath-1/+33
Fixes #32.
2016-10-08Added timefs[12] examples.Nikolaus Rath-1/+31
These examplesdemonstrate the use of the `fuse_lowlevel_notify_store` and `fuse_lowlevel_notify_inval_inode` functions.
2016-10-08Removed ``-o big_writes`` optionNikolaus Rath-1/+1
This option is obsolete and should always be enabled. File systems that want to limit the size of write requests should use the ``-o max_write=<N>`` option instead.
2016-10-05Test more combinations of low-level options.Nikolaus Rath-6/+12
2016-10-02Run tests under valgrind when available.Nikolaus Rath-15/+20
Fixes #50.
2016-10-02Import os.path.join as pjoinNikolaus Rath-26/+27
Makes the code much shorter :-).
2016-10-02Added test for fuse_lo-plus.Nikolaus Rath-0/+31
2016-10-02Run hello_ll single-threaded explicitly.Nikolaus Rath-0/+3
2016-05-13Add ioctl tests.Nikolaus Rath-0/+24
2016-03-29Added test_fselNikolaus Rath-0/+15
2016-03-29Added unit tests for fusexmp and helloNikolaus Rath-0/+306