Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-10-19 | tests: add 1980.tar.gz extract test | Jakob Unterwurzacher | |
Test that we get the right timestamp when extracting a tarball. Also simplify the workaround in doTestUtimesNano() and fix the fact that it was running no test at all. | |||
2016-10-19 | lint fixes | Jakob Unterwurzacher | |
2016-10-16 | fusefrontend: Utimens: one more band-aid | Jakob Unterwurzacher | |
Revert once https://github.com/hanwen/go-fuse/pull/131 is merged. | |||
2016-10-16 | tests: add test for -password -masterkey | Jakob Unterwurzacher | |
Also, make the other password tests more rigorous by verifying the fs content. | |||
2016-10-16 | tests: fix stdin password change test | Jakob Unterwurzacher | |
It was actually testing extpass a second time. | |||
2016-10-16 | fusefrontend: Utimens: ugly band-aid for nil pointer crash in go-fuse | Jakob Unterwurzacher | |
Crash is described at https://github.com/rfjakob/gocryptfs/issues/48 . Revert this once https://github.com/hanwen/go-fuse/pull/131 is merged. | |||
2016-10-16 | tests: verify that UTIME_OMIT works | Jakob Unterwurzacher | |
It currently does not and even causes a crash due to a bug in go-fuse. Also converts the test to table-based. | |||
2016-10-16 | tests: deduplicate UtimesNano testing code | Jakob Unterwurzacher | |
2016-10-16 | tests: split "normal" tests into "cli" and "defaults" | Jakob Unterwurzacher | |
Also fixes the failure to run the benchmarks do to the missing gocryptfs.diriv. | |||
2016-10-10 | main: show "-o" in the help text | Jakob Unterwurzacher | |
Binds it to a dummy variable so it appears in the help text. | |||
2016-10-09 | tests: add test for "mountpoint shadows cipherdir" logic | Jakob Unterwurzacher | |
2016-10-08 | reverse: gocryptfs.conf was missing from the directory listings | Jakob Unterwurzacher | |
Fix the test for that and add checks in example_filesystems_test. | |||
2016-10-08 | tests: add v1.1-reverse-plaintextnames example filesystem | Jakob Unterwurzacher | |
2016-10-08 | tests: add v1.1-reverse example filesystem | Jakob Unterwurzacher | |
2016-10-08 | tests: add v1.1-aessiv example filesystem | Jakob Unterwurzacher | |
Also move the example content into "content". | |||
2016-10-08 | reverse: make gocryptfs.conf mapping plaintextnames-aware | Jakob Unterwurzacher | |
Only in plaintextnames-mode AND with the config file at the default location it will be mapped into the mountpoint. Also adds a test for that. | |||
2016-10-08 | tests: pass "-nosyslog" | Jakob Unterwurzacher | |
We want to see panics and warnings on the console | |||
2016-10-08 | tests: invert ResetTmpDir argument | Jakob Unterwurzacher | |
As reverse also does not want a diriv file, the "plaintextNames" argument became a misnomer. | |||
2016-10-08 | tests: matrix: have the testcase struct as a global variable | Jakob Unterwurzacher | |
Future tests will need more info about the running test case. | |||
2016-10-08 | tests: matrix: convert to table-based style | Jakob Unterwurzacher | |
And add AES-SIV | |||
2016-10-06 | main: add "-nonempty" option | Jakob Unterwurzacher | |
2016-10-04 | lint fixes | Valient Gough | |
2016-10-04 | tests: skip tests with -openssl=false on Go 1.4 and lower | Jakob Unterwurzacher | |
Go versions 1.4 and lower lack NewGCMWithNonceSize(), which causes a panic in the test. | |||
2016-10-04 | tests: symlink to "/" instead of "/etc/motd" | Jakob Unterwurzacher | |
This file does not exist on all systems, causing spurious test failures. See #40, #43 | |||
2016-10-04 | tests: fallocate: skip some disk usage checks on btrfs | Jakob Unterwurzacher | |
The expected allocated sizes are verified for tmpfs and ext4. btrfs gives different results, but that's not an error. Also, simplify test_helpers.Du and several code paths. Fixes #43. | |||
2016-10-04 | maxlen.bash: result was 1 too high | Jakob Unterwurzacher | |
Additionally, output 0 instead of 7 on permission errors. | |||
2016-09-26 | reverse: switch from GCM-SIV to AES-SIVv1.1-beta1 | Jakob Unterwurzacher | |
GCM-SIV is not yet finalized, and the reference implemenation is painfully slow at about 2 MB/s. Switch to AES-SIV. | |||
2016-09-25 | tests: add reverse linux tarball test | Jakob Unterwurzacher | |
2016-09-25 | Implement changes proposed by gosimple. | Jakob Unterwurzacher | |
Also delete the unused "dirIVNameStruct", found by deadcode. | |||
2016-09-25 | reverse: add symlink encryption and Readlink support | Jakob Unterwurzacher | |
2016-09-25 | reverse: more thorough longname stat test | Jakob Unterwurzacher | |
Now also verifies the returned file size. | |||
2016-09-25 | reverse: add gcmsiv flag and associated tests | Jakob Unterwurzacher | |
2016-09-25 | tests: smarter error handling in ResetTmpDir | Jakob Unterwurzacher | |
Look at the error code from os.Remove and decide about the right thing to do. Gets rid of spurious fusermount error messages. | |||
2016-09-25 | reverse: add longname benchmark | Jakob Unterwurzacher | |
2016-09-25 | tests: extractloop: use tmp dir based on script name | Jakob Unterwurzacher | |
This is how this should be done as well in future test scripts. | |||
2016-09-25 | tests: skip the nanosecond compare for now | Jakob Unterwurzacher | |
2016-09-25 | tests: set the times on a symlink | Jakob Unterwurzacher | |
This currently fails as reported in https://github.com/rfjakob/gocryptfs/issues/35 . Also remove the spurious sleep in the test. | |||
2016-08-09 | tests: add TestUtimesNano | Jakob Unterwurzacher | |
Make sure setting nanoseconds works by path and fd. | |||
2016-07-16 | tests: add RSS tracking to extractloop | Jakob Unterwurzacher | |
This obsoletes loopback-mem.bash. | |||
2016-07-16 | tests: factor out fs-agnostic benchmark script | Jakob Unterwurzacher | |
"canonical-benchmarks.bash TESTDIR" can now be used on any filesystem. | |||
2016-07-16 | tests: add maxlen.bash helper | Jakob Unterwurzacher | |
Simple script that finds out the maximum supported filename length. | |||
2016-07-14 | tests: add loopback-mem script | Jakob Unterwurzacher | |
Helps to find memory leaks in go-fuse's loopback, which gocryptfs builds upon. | |||
2016-07-12 | tests: extractloop: add loopback support | Jakob Unterwurzacher | |
loopback is an example app that comes with the go-fuse lib. It uses all the same APIs as gocryptfs, minus the encryption. | |||
2016-07-11 | tests: add encfs support to benchmark.bash and extractloop.bash | Jakob Unterwurzacher | |
Pass "-encfs" to test encfs instead of gocryptfs. | |||
2016-07-11 | tests: matrix: print name in verbose output | Jakob Unterwurzacher | |
2016-07-11 | tests: add verbose output when unmounting | Jakob Unterwurzacher | |
2016-07-11 | tests: use unmount wrapper in ResetTmpDir | Jakob Unterwurzacher | |
This should make it work on OSX. Also, split unmount into two functions. Depending on what you want, * UnmountErr returns the resulting error * UnmountPanic panics if the error was not nil | |||
2016-07-06 | tests: fix shadow warning | Jakob Unterwurzacher | |
"go tool vet -shadow=true" complained about the md5 package being shadowed by variables called "md5". Fix by using the Md5hex helper and dropping the md5 import. | |||
2016-07-04 | tests: OSX: cast st.Blksize to int64 | Jakob Unterwurzacher | |
On Linux, Blksize is already int64. But on OSX it is int32 and that caused a compile failure. https://github.com/rfjakob/gocryptfs/issues/15 | |||
2016-07-03 | syscallcompat: OSX: add Fallocate and Openat wrappers | Jakob Unterwurzacher | |
...and convert all calls to syscall.{Fallocate,Openat} to syscallcompat . Both syscalls are not available on OSX. We emulate Openat and just return EOPNOTSUPP for Fallocate. |