aboutsummaryrefslogtreecommitdiffstats
path: root/tests
AgeCommit message (Collapse)AuthorLines
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
2012-09-14Implemented my_dirname and added unit tests for it.Martin Pärtel-0/+80
2012-07-04Cache user data for user_belongs_to_group().Martin Pärtel-5/+33
This considerably speeds up --mirror @group.
2012-06-18Added --valgrind switch to tests.Martin Pärtel-25/+44
2012-05-18Added rudimentary stress test code.Martin Pärtel-0/+145
2012-05-18Fixed --create-as-user.Martin Pärtel-1/+23
2012-04-05Made -ouse_ino and -oreaddir_ino the default to mirror inodes.Martin Pärtel-0/+62
2012-03-26Made --map affect chown/chgrp results.Martin Pärtel-2/+16
2012-03-13Added --map.Martin Pärtel-0/+60
2012-03-02A little cleanup.Martin Pärtel-23/+26
2012-03-02A test case for --mirror.Martin Pärtel-0/+8
2012-01-25Added option --realistic-permissions.Martin Pärtel-8/+27
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