From 8b7c986bdf29b6bc4f7bf3c2e655552ab4ef4bd3 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sat, 31 Oct 2015 15:11:56 +0100 Subject: [PATCH] tests: Use /tmp/gocryptfs_main_test temporary directory Using "/tmp" meant that running the test would delete everything there. --- main_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/"