aboutsummaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
* os_open(): don't attempt to close fd if open failed.Gravatar Nikolaus Rath2017-08-06
|
* Added writeback cache to passthrough_llGravatar Nikolaus Rath2017-08-06
| | | | | | | | This fixes issue #191 (where the test was done by simply adding FUSE_CAP_WRITEBACK_CACHE without adjusting the flags in the open() call). Fixes: #191.
* Added append and seek testsGravatar Nikolaus Rath2017-08-04
|
* Don't check st_nlink value for mkdirGravatar Nikolaus Rath2017-08-03
| | | | | | Some filesystems don't track this for directories. Fixes: #180.
* Don't use emacs' python-mode for meson filesGravatar Nikolaus Rath2017-07-07
| | | | There is a proper meson-mode now.
* tst_readdir(): actually go through FUSEGravatar Nikolaus Rath2017-06-20
| | | | The previous code didn't actually go through the mountpoint at all.
* examples/passthrough_ll: added support for create()Gravatar Nikolaus Rath2017-06-05
|
* example/passthrough_ll: added write supportGravatar Nikolaus Rath2017-06-05
|
* tst_link(): wait for RELEASE requestGravatar Nikolaus Rath2017-05-31
| | | | | | | | | | Since RELEASE requests are asynchronous, it is possible that libfuse still considers the file to be open when userspace has closed it, so that a successive unlink() call from userspace actually triggers a rename(). We avoid the resulting test failure by re-trying a few times. Fixes: #157.
* Factored out C-based testsGravatar Nikolaus Rath2017-05-25
|
* tst_link(): add more assertionsGravatar Nikolaus Rath2017-05-25
| | | | Hopefully this helps debugging issue #157.
* Travis-CI: Don't abort on first failed testGravatar Nikolaus Rath2017-05-24
| | | | This should help debugging issue #157.
* Added tst_open_read()Gravatar Nikolaus Rath2017-05-24
| | | | | Slightly increases coverage of examples/passthrough_ll.c (which supports open for reading, but not for writing).
* Make tests build on bsdGravatar Brian Naylor2017-05-24
|
* Fix travis build script. Broken in e372d.Gravatar Nikolaus Rath2017-04-10
|
* Remove 'tests' target in favor of calling py.test directly.Gravatar Nikolaus Rath2017-04-10
| | | | Together with the previous commit, this fixes #156.
* Build tests by default.Gravatar Nikolaus Rath2017-04-10
|
* Only build test/*.py if out of date.Gravatar Nikolaus Rath2017-04-10
|
* Actually test passthrough* examplesGravatar Nikolaus Rath2017-04-07
| | | | | | | | Since os.path.join() interprets leading slashes, we were actually never accessing the mountpoint and doing all the tests in the source directory. Fixes: #139
* 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().
* Put -Werror in mesonconf, not CFLAGSGravatar Nikolaus Rath2017-01-23
| | | | Putting it in CFLAGS interferes with feature detection.
* Only use valgrind if requested explicitly + enable address sanitizerGravatar Nikolaus Rath2017-01-12
|
* Switch Travis build to Meson+NinjaGravatar Nikolaus Rath2017-01-12
|
* 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
|
* Rename more things from fuse to fuse3Gravatar Przemysław Pawełczyk2016-11-28
|
* Don't expect EACCESS errors as rootGravatar Nikolaus Rath2016-11-10
| | | | Fixes #111.
* Don't hardcode test file name.Gravatar Nikolaus Rath2016-11-06
|
* Added test for fchmodGravatar Nikolaus Rath2016-11-06
| | | | | At the moment this test fails (cf. issue #62). If that gets fixed in the kernel, this test can be activated conditionally.
* Renamed fusermount / mount.fuse to fusermount3 / mount.fuse3Gravatar Nikolaus Rath2016-10-28
|
* 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.