diff options
author | Jakob Unterwurzacher | 2016-06-27 21:39:02 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2016-06-27 21:40:39 +0200 |
commit | 2720cd7b0d2711101b841c06e0068d5d3ae1b59e (patch) | |
tree | b218bc04d1d8057301801d4244749ac7074d4a64 /tests/test_helpers | |
parent | c400aca5cf7b57f5e1e7a604cfeea2512643349f (diff) |
tests: give "-plaintextnames" its own test package
...and add tests for checking that gocryptfs.diriv
does not get created.
The main "integration_tests" package has become quite
big and convoluted over time.
This small separate package should make writing tests
for "-plaintextnames" easier.
As seen in "fusefrontend: fix PlaintextNames versions of Mkdir, Rmdir",
we need more of them.
Diffstat (limited to 'tests/test_helpers')
-rw-r--r-- | tests/test_helpers/helpers.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_helpers/helpers.go b/tests/test_helpers/helpers.go index 655df05..88ef039 100644 --- a/tests/test_helpers/helpers.go +++ b/tests/test_helpers/helpers.go @@ -66,7 +66,8 @@ func ResetTmpDir(plaintextNames bool) { // InitFS calls "gocryptfs -init" on a new directory in TmpDir, passing // "extraArgs" in addition to practical defaults. -// The returned "dir" has NO trailing slash. +// +// The returned cipherdir has NO trailing slash. func InitFS(t *testing.T, extraArgs ...string) string { dir, err := ioutil.TempDir(TmpDir, "") if err != nil { |