tests: Use /tmp/gocryptfs_main_test temporary directory
Using "/tmp" meant that running the test would delete everything there.
This commit is contained in:
parent
3e36851273
commit
8b7c986bdf
@ -14,7 +14,7 @@ import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
const tmpDir = "/tmp/"
|
||||
const tmpDir = "/tmp/gocryptfs_main_test/"
|
||||
const plainDir = tmpDir + "plain/"
|
||||
const cipherDir = tmpDir + "cipher/"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user