aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Unterwurzacher2015-10-31 15:11:56 +0100
committerJakob Unterwurzacher2015-11-01 01:36:19 +0100
commit8b7c986bdf29b6bc4f7bf3c2e655552ab4ef4bd3 (patch)
tree4614665b6e3a58223dff3636d222e9b248a03077
parent3e3685127340571dca40f0c16cbaa3d272689f4f (diff)
tests: Use /tmp/gocryptfs_main_test temporary directory
Using "/tmp" meant that running the test would delete everything there.
-rw-r--r--main_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main_test.go b/main_test.go
index b5b2d35..4d21dde 100644
--- a/main_test.go
+++ b/main_test.go
@@ -14,7 +14,7 @@ import (
"testing"
)
-const tmpDir = "/tmp/"
+const tmpDir = "/tmp/gocryptfs_main_test/"
const plainDir = tmpDir + "plain/"
const cipherDir = tmpDir + "cipher/"