aboutsummaryrefslogtreecommitdiff
path: root/internal/syscallcompat
diff options
context:
space:
mode:
Diffstat (limited to 'internal/syscallcompat')
-rw-r--r--internal/syscallcompat/main_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/syscallcompat/main_test.go b/internal/syscallcompat/main_test.go
index 43db0e1..ddf6bc4 100644
--- a/internal/syscallcompat/main_test.go
+++ b/internal/syscallcompat/main_test.go
@@ -16,7 +16,8 @@ func TestMain(m *testing.M) {
fmt.Println(err)
os.Exit(1)
}
- parent := "/tmp/gocryptfs-test-parent"
+ // Cannot import test_helpers because of import cycle
+ parent := fmt.Sprintf("/tmp/gocryptfs-test-parent-%d", os.Getuid())
err = os.MkdirAll(parent, 0700)
if err != nil {
fmt.Println(err)