diff options
author | Jakob Unterwurzacher | 2015-12-11 23:27:38 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2015-12-11 23:27:38 +0100 |
commit | b02ad128146c818e871aedc0a7b2e6655b7790e9 (patch) | |
tree | bd17efa3cc914b6d1afe790bd06902155000e7f5 /integration_tests/helpers.go | |
parent | 7758bdc61d10a5bb1daec3bdfb0af5d287c89657 (diff) |
tests: overwrite directory with another directory
Testcase for issue #10 (currently failing)
Diffstat (limited to 'integration_tests/helpers.go')
-rw-r--r-- | integration_tests/helpers.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/integration_tests/helpers.go b/integration_tests/helpers.go index 750283d..7c4aeef 100644 --- a/integration_tests/helpers.go +++ b/integration_tests/helpers.go @@ -20,6 +20,7 @@ const defaultCipherDir = tmpDir + "cipher/" const gocryptfsBinary = "../gocryptfs" +// resetTmpDir - delete old tmp dir, create new one, write gocryptfs.diriv func resetTmpDir() { fu := exec.Command("fusermount", "-z", "-u", defaultPlainDir) fu.Run() |