aboutsummaryrefslogtreecommitdiffstats
path: root/tests
AgeCommit message (Collapse)AuthorLines
2020-05-13Fixed a line ending bug with uid/gid mapping files that I introduced when ↵Martin Pärtel-1/+1
merging #85.
2020-05-10Added test case for #85 and fixed a minor UX issue with it.Martin Pärtel-0/+21
2020-04-13Fixed tests with Ruby 2.7.1 or newer.Martin Pärtel-2/+5
2019-12-21Don't check that numeric UIDs and GIDs exist in user database.Martin Pärtel-1/+15
A user database is not always available. For #79.
2019-06-26Resolve symlinks in readdir() so correct attributes are returned.Martin Pärtel-0/+16
Fixes #76
2019-04-29Added --forward-odirect. bindfs now won't forward O_DIRECT by default.Martin Pärtel-2/+17
Follow-up to #74.
2019-04-28Fixed vagrant tests. Removed Vagrant test for Ubuntu 12.04, added 18.04.Martin Pärtel-5/+18
2019-04-28Cleanups, tests and optimizations for #74.Martin Pärtel-1/+162
2019-03-31Tests: check that `unshare` supports the required options.Martin Pärtel-1/+4
2019-03-31Test case for #73Martin Pärtel-0/+10
2018-10-09Worked around a weird race in test case "utimens on symlinks".Martin Pärtel-0/+1
2017-11-30Cleaned up PR #61.Martin Pärtel-0/+14
For consistency, renamed the new options to --delete-deny and --rename-deny.
2017-04-19Added option: --block-devices-as-filesMartin Pärtel-0/+55
Fixes #53.
2017-04-13Document that -o dev is required for device files and test it.Martin Pärtel-0/+11
Fixes #52.
2017-03-14Run tests on FreeBSD 10.3 and fix tests so they pass.Martin Pärtel-23/+35
Fully fixes issue #51.
2017-03-12Hacked tests to work with Ruby 1.8.7 and FUSE 2.8 again.Martin Pärtel-49/+126
The test suite now passes under Ubuntu 12.04 and CentOS 6. Fixes #49
2017-01-29Fixed #47 by not setting `-ofsname=` when it would contain a comma.Martin Pärtel-5/+42
Also banned some other characters that are likely to lead to trouble.
2016-11-16tests: Fix run make check out of placeDan Dedrick-4/+11
When building out of the place the executables are not in the same location as the scripts being called. This means that the test scripts need to be able to handle the executables being the in the current directory and the script/source files being in a different directory. This will work now work with both building in place and building out of place and can be tested as follows: /autogen.sh && mkdir -p build && cd build && ../configure && make check
2016-11-16tests: fix building out of placeDan Dedrick-4/+4
The path to the source files should be top_srcdir not top_builddir. When building in place these are both the same so this doesn't fail but is technically wrong. This change will allow both cases to work. To demonstrace how this was broken before and to ensure it is fixed now you can do the following: ./autogen.sh && mkdir -p build && cd build && ../configure && make Running make check out of place still doesn't work but that will require a bit more change.
2016-10-29Only compile test_dir_rewind.c on amd64.Martin Pärtel-4/+6
This should fix the build on e.g. ARM.
2016-10-15Always skip valgrind for ioctl tests due to false negatives.Martin Pärtel-2/+4
2016-10-15Fix #41 (seeking in directory).Martin Pärtel-1/+97
Since version 1.31.1, bindfs has implemented readdir by always reading the entire directory and passing 0 offset to filler, but this does not work if the same directory pointer is rewound and reused. We remove the opendir and closedir implementations (which FUSE permits) and now always opendir() and closedir() in readdir. Alternatively we could have added a rewinddir() to our readdir.
2016-07-31Implemented --enable-lock-forwarding.Martin Pärtel-1/+110
This should address #36.
2016-07-31Added option --enable-ioctl to forward ioctl() calls.Martin Pärtel-0/+21
This should address #37.
2016-05-03Basic tests for --uid-offset and --gid-offset.Martin Pärtel-0/+33
2016-05-03Minor cleanups.Martin Pärtel-0/+0
2016-03-30Added test case for issue #30 and improved an earlier test case.Martin Pärtel-4/+25
2016-03-10Fix argument order of `usermod` in test for some distros.Martin Pärtel-1/+1
2016-01-19Added a test case for reading the entries of a large directory.Martin Pärtel-0/+12
2015-11-17Show the source dir in the first field on /etc/mtab.Martin Pärtel-1/+18
Fixes #15. Thanks @tyll!
2015-11-15Use `usermod user -G group -a` instead of `adduser user group` in a test.Martin Pärtel-1/+1
This makes it compatible with at least Fedora.
2015-11-15Define _DEFAULT_SOURCE when defining _BSD_SOURCE.Martin Pärtel-1/+4
_BSD_SOURCE has been deprecated in favor of _DEFAULT_SOURCE but both can remain defined for backwards-compatibility.
2015-11-15Fixed some root tests to use `nobody_group`.Martin Pärtel-4/+4
2015-11-15Use gid of user nobody for testsTill Maas-31/+32
There is no nogroup in Fedora, therefore use the gid of the nobody user.
2015-09-20Implemented --resolved-symlink-deletion and added tests.Martin Pärtel-1/+186
2014-09-07Tests: use sudo instead of su.Martin Pärtel-3/+3
BSD su is different, apparently.
2014-06-30Implemented rate limiter.Martin Pärtel-16/+109
Fixes #12.
2014-05-10(rm more trailing spaces)Martin Pärtel-35/+35
2014-05-10Use lutimes() when utimensat() unavailable (#6).Martin Pärtel-31/+29
2014-05-10Fix tests (#14)Martin Pärtel-21/+32
2014-05-10(removed trailing spaces)Martin Pärtel-33/+33
2014-05-09Remove fuse utimens dependency for OSXLee Hanxue-3/+9
2013-09-23Implement fuse_utimens instead of fuse_utime.Martin Pärtel-1/+49
Fixes utime'ing symlinks. Seems to also fix an attribute caching problem.
2013-07-22Rename chmod-perms to chmod-filter.Martin Pärtel-1/+1
2013-07-22Merge remote-tracking branch 'antage/master'Martin Pärtel-0/+8
2013-07-22(build cleanup)Martin Pärtel-4/+1
2013-07-22Alter chmod permissions when using --chmod-permsAnton Ageev-0/+8
2013-05-07Add -pthread to LDFLAGSMartin Pärtel-0/+1
fuse's pkg-config no longer includes it.
2012-09-15tests: fail test on nonsuccessful exit codeMartin Pärtel-1/+6
2012-09-14Added unit test for setgid behavior.Martin Pärtel-0/+13