Commit Graph

10 Commits

Author SHA1 Message Date
benrubson
f6a3838e60 Fix xattr behavoir on symlinks
* Make all xattr operations on link themselves
* Be sure to test links and not their target
* Add extended attributes tests
2017-07-30 20:26:42 +02:00
Jakob Unterwurzacher
d2ee96d2bd tests: print "mode=standard", "mode=paranoia" progress
We run through everything in normal.t.pl two times, once
in "standard" mode and once in "paranoia" mode. Print some
context. Also, bail out if file creation fails.

Output now looks like this:

$ ./test.sh
tests/normal.t.pl ...
runTests: mode=standard
tests/normal.t.pl ... 54/116
runTests: mode=paranoia
tests/normal.t.pl ... ok
tests/reverse.t.pl .. ok
All tests successful.
Files=2, Tests=141, 21 wallclock secs ( 0.04 usr  0.00 sys + 20.03 cusr  0.36 csys = 20.43 CPU)
Result: PASS
2017-07-22 19:05:33 +02:00
Jakob Unterwurzacher
64b01a0869 tests: check if the second mount works as well
Should prevent things like https://github.com/vgough/encfs/issues/343
from happening again.
2017-07-19 22:57:35 +02:00
Johannes Bornhold
ea67ef11f5 Add check for reading the configuration from a pipe 2017-05-28 16:24:35 +02:00
Jakob Unterwurzacher
2b3e6031eb tests: open file with umask 0777
Regression test for https://github.com/vgough/encfs/issues/181

(fails at the moment, fixed in the next commits)
2016-06-25 14:47:16 +02:00
Jakob Unterwurzacher
a424a2155b tests: fix paths for new build path, add "test.sh" wrapper for usability
All tests pass at the moment.
2015-11-12 19:18:35 +01:00
Valient Gough
12e8efb2cd add test target 2015-06-15 23:48:14 -07:00
Jakob Unterwurzacher
c58d311569 tests: Complain loudly when encfs segfaults while mounting
...instead of having all later tests fail with strange
error messages.
2015-03-20 00:12:51 +01:00
Jakob Unterwurzacher
b05872d85d tests: Use portable_unmount in reverse tests
Fixes unmount failure on OSX
2015-01-11 23:34:30 +01:00
Jakob Unterwurzacher
1c5c75c44f tests: Name all tests ".t.pl"
This way, everything (for example, common.inc) can have its proper
".pl" ending and syntax highlighting works properly in every editor.
2014-12-08 17:39:10 +01:00