libgocryptfs/tests
Jakob Unterwurzacher e8d8ae54d3 fusefrontend: use OpenDirNofollow in openBackingDir
Rename openBackingPath to openBackingDir and use OpenDirNofollow
to be safe against symlink races. Note that openBackingDir is
not used in several important code paths like Create().

But it is used in Unlink, and the performance impact in the RM benchmark
to be acceptable:

Before

	$ ./benchmark.bash
	Testing gocryptfs at /tmp/benchmark.bash.bYO: gocryptfs v1.6-12-g930c37e-dirty; go-fuse v20170619-49-gb11e293; 2018-09-08 go1.10.3
	WRITE: 262144000 bytes (262 MB, 250 MiB) copied, 1.07979 s, 243 MB/s
	READ:  262144000 bytes (262 MB, 250 MiB) copied, 0.882413 s, 297 MB/s
	UNTAR: 16.703
	MD5:   7.606
	LS:    1.349
	RM:    3.237

After

	$ ./benchmark.bash
	Testing gocryptfs at /tmp/benchmark.bash.jK3: gocryptfs v1.6-13-g84d6faf-dirty; go-fuse v20170619-49-gb11e293; 2018-09-08 go1.10.3
	WRITE: 262144000 bytes (262 MB, 250 MiB) copied, 1.06261 s, 247 MB/s
	READ:  262144000 bytes (262 MB, 250 MiB) copied, 0.947228 s, 277 MB/s
	UNTAR: 17.197
	MD5:   7.540
	LS:    1.364
	RM:    3.410
2018-09-08 19:27:33 +02:00
..
cli main: don't read the config file twice (fix pipe bug) 2018-09-08 13:04:33 +02:00
defaults tests: add "mv broken symlink" test 2018-05-17 23:14:33 +02:00
example_filesystems tests: example_filesystems: create a private copy in /tmp 2018-05-04 22:27:59 +02:00
fsck fsck: handle sparse files efficiently, fix xfstests generic/285 2018-07-01 21:48:51 +02:00
hkdf_sanity tests: add hkdf_sanity tests with broken example filesystem 2017-03-18 16:48:58 +01:00
matrix tests: restore Go 1.7 compatibility 2018-09-08 18:19:53 +02:00
plaintextnames configfile: add LoadAndDecrypt wrapper 2018-09-08 12:40:29 +02:00
reverse fusefrontend: use OpenDirNofollow in openBackingDir 2018-09-08 19:27:33 +02:00
stress_tests tests: extractloop.sh: better cleanup logic, handle missing /proc 2018-03-13 22:41:26 +01:00
test_helpers tests: VerifyExistence: panic on inconsistent results 2018-08-11 22:37:22 +02:00
trezor configfile: add LoadAndDecrypt wrapper 2018-09-08 12:40:29 +02:00
xattr xattr: use LGet/LSet etc 2018-05-27 20:09:48 +02:00
canonical-benchmarks.bash benchmarks: add streaming read benchmark 2017-06-27 00:04:58 +02:00
dl-linux-tarball.bash macos: tests: use curl of wget is not available 2018-03-07 09:40:48 +01:00
fuse-unmount.bash OSX compat: replace fusermount calls with fuse-unmount.bash 2017-02-15 23:02:01 +01:00
maxlen.bash maxlen.bash: result was 1 too high 2016-10-04 10:26:22 +02:00