From 2720cd7b0d2711101b841c06e0068d5d3ae1b59e Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Mon, 27 Jun 2016 21:39:02 +0200 Subject: 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. --- tests/test_helpers/helpers.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/test_helpers') 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 { -- cgit v1.2.3