aboutsummaryrefslogtreecommitdiff
path: root/test/test_examples.py
Commit message (Collapse)AuthorAge
* test_examples(): test without debug messages firstGravatar Nikolaus Rath2017-04-07
| | | | | That way, we are not drowning in messages when a test would also fail without debugging enabled.
* test_examples(): avoid false positives from fuse debug outputGravatar Nikolaus Rath2017-04-07
|
* passthrough_ll: only test functions that are actually providedGravatar Nikolaus Rath2017-04-07
| | | | | | This appeared to work because of an unrelated bug that caused us to actually never access the mountpoint at all and do all tests on the lower filesystem. This issue will be fixed in a separate commit.
* Remove checked_unlink()Gravatar Nikolaus Rath2017-04-07
| | | | | There is no reason why so many tests require the file system to support unlink() and/or rmdir().
* Turn tst_mknod() into tst_create()Gravatar Nikolaus Rath2017-04-07
| | | | | Ensure that we are really creating a new file. Don't attempt to write, we do that in tst_open_write().
* Renamed tst_write() to tst_open_write()Gravatar Nikolaus Rath2017-04-07
| | | | | We are actually testing both opening of an existing file and writing to it.
* Added tst_unlink()Gravatar Nikolaus Rath2017-04-07
| | | | To check for unlink() support without requiring create()/mknod().
* tst_mkdir(): factor out tst_rmdir()Gravatar Nikolaus Rath2017-04-07
| | | | | This allows testing a filesystem that offers mkdir(), but no rmdir() (and vice versa).
* Rename tst_unlink() to tst_open_unlink()Gravatar Nikolaus Rath2017-04-07
| | | | | This makes more sense, since we are specifically checking unlinking of an open file.
* tst_readdir(): don't require create/mkdir supportGravatar Nikolaus Rath2017-04-07
| | | | | | By creating the files in the lower filesystem, we can test readdir() even for filesystems that don't implement create() or mkdir().
* Added experimental support for building with Meson+NinjaGravatar Nikolaus Rath2017-01-12
|
* Skip tests if not root and no setuid fusermount3.Gravatar Nikolaus Rath2017-01-10
|
* Added documentation and test case for null exampleGravatar Nikolaus Rath2016-12-23
|
* Fix segfault in debug logging codeGravatar Nikolaus Rath2016-10-24
| | | | fi may be NULL, so we need to protect against this.
* fuse_new(): don't accept options that don't make sense for end-usersGravatar Nikolaus Rath2016-10-20
| | | | | | Several options (use_ino, etc) depend on the file system implementation. Allowing them to be set from the command line makes no sense.
* Unify handling of fuse_conn_info optionsGravatar Nikolaus Rath2016-10-15
| | | | | | 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.
* tests: use freshly-build fusermount (instead of system version)Gravatar Nikolaus Rath2016-10-13
| | | | When running tests as non-root, make fusermount setuid root.
* Only test writeback cache if kernel is recent enough.Gravatar Nikolaus Rath2016-10-13
|
* Fix race condition in notify_* examplesGravatar Nikolaus Rath2016-10-10
| | | | | | | 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.
* Added write cache tests.Gravatar Nikolaus Rath2016-10-10
|
* Added cuse unit test.Gravatar Nikolaus Rath2016-10-09
|
* Increase timeouts in notify_* testsGravatar Nikolaus Rath2016-10-09
| | | | When running under Valgrind, we otherwise get sporadic test failures.
* Renamed timefsN examples to fuse_notify_*Gravatar Nikolaus Rath2016-10-09
| | | | | This should make it more obvious at first glance what the different examples do.
* Renamed ioctl and poll examplesGravatar Nikolaus Rath2016-10-09
| | | | | The new names should make it more obvious at first glance what each example demonstrates.
* Renamed some examples to make their function more obviousGravatar Nikolaus Rath2016-10-09
| | | | Also, added more comments for the same purpose.
* Added timefs3 to test notify_inval_entry.Gravatar Nikolaus Rath2016-10-08
| | | | Fixes #32.
* Added timefs[12] examples.Gravatar Nikolaus Rath2016-10-08
| | | | | These examplesdemonstrate the use of the `fuse_lowlevel_notify_store` and `fuse_lowlevel_notify_inval_inode` functions.
* Removed ``-o big_writes`` optionGravatar Nikolaus Rath2016-10-08
| | | | | | 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.
* Test more combinations of low-level options.Gravatar Nikolaus Rath2016-10-05
|
* Run tests under valgrind when available.Gravatar Nikolaus Rath2016-10-02
| | | | Fixes #50.
* Import os.path.join as pjoinGravatar Nikolaus Rath2016-10-02
| | | | Makes the code much shorter :-).
* Added test for fuse_lo-plus.Gravatar Nikolaus Rath2016-10-02
|
* Run hello_ll single-threaded explicitly.Gravatar Nikolaus Rath2016-10-02
|
* Add ioctl tests.Gravatar Nikolaus Rath2016-05-13
|
* Added test_fselGravatar Nikolaus Rath2016-03-29
|
* Added unit tests for fusexmp and helloGravatar Nikolaus Rath2016-03-29