aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_bindfs.rb
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-1/+2
2019-04-28Cleanups, tests and optimizations for #74.Martin Pärtel-0/+22
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-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-18/+24
Fully fixes issue #51.
2017-03-12Hacked tests to work with Ruby 1.8.7 and FUSE 2.8 again.Martin Pärtel-46/+62
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-0/+31
Also banned some other characters that are likely to lead to trouble.
2016-11-16tests: Fix run make check out of placeDan Dedrick-2/+5
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-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-0/+12
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-0/+41
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-03-30Added test case for issue #30 and improved an earlier test case.Martin Pärtel-4/+16
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-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-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/+174
2014-09-07Tests: use sudo instead of su.Martin Pärtel-3/+3
BSD su is different, apparently.
2014-05-10Use lutimes() when utimensat() unavailable (#6).Martin Pärtel-14/+11
2014-05-10Fix tests (#14)Martin Pärtel-13/+15
2014-05-10(removed trailing spaces)Martin Pärtel-29/+29
2013-09-23Implement fuse_utimens instead of fuse_utime.Martin Pärtel-0/+15
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-22Alter chmod permissions when using --chmod-permsAnton Ageev-0/+8
2012-09-14Added unit test for setgid behavior.Martin Pärtel-0/+13
2012-07-04Cache user data for user_belongs_to_group().Martin Pärtel-0/+28
This considerably speeds up --mirror @group.
2012-06-18Added --valgrind switch to tests.Martin Pärtel-3/+0
2012-05-18Fixed --create-as-user.Martin Pärtel-0/+22
2012-04-05Made -ouse_ino and -oreaddir_ino the default to mirror inodes.Martin Pärtel-0/+23
2012-03-26Made --map affect chown/chgrp results.Martin Pärtel-0/+14
2012-03-13Added --map.Martin Pärtel-0/+56
2012-03-02A test case for --mirror.Martin Pärtel-0/+8
2012-01-25Added option --realistic-permissions.Martin Pärtel-1/+18
2012-01-24Added --hide-hard-links option.Martin Pärtel-1/+8
Patch by fbogner http://code.google.com/p/bindfs/issues/detail?id=17
2012-01-24Ruby 1.9 fixes to tests.Martin Pärtel-2/+3
2011-07-08Initial commit to git.Martin Pärtel-0/+206