tests: Use /tmp/gocryptfs_main_test temporary directory

Using "/tmp" meant that running the test would delete everything
there.
This commit is contained in:
Jakob Unterwurzacher 2015-10-31 15:11:56 +01:00
parent 3e36851273
commit 8b7c986bdf
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ import (
"testing"
)
const tmpDir = "/tmp/"
const tmpDir = "/tmp/gocryptfs_main_test/"
const plainDir = tmpDir + "plain/"
const cipherDir = tmpDir + "cipher/"