aboutsummaryrefslogtreecommitdiff
path: root/tests/root_test/main_test.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2025-02-23 22:29:17 +0100
committerJakob Unterwurzacher2025-02-23 22:34:56 +0100
commit178f570d4076ee9be408c9eb5e50502275a180c6 (patch)
tree3b5cf7ce930915729a6e797b14595c9fc44620e9 /tests/root_test/main_test.go
parent3c82930d4ad22b5be2f644346018a0550dd66aa8 (diff)
tests/root_test: add TestConcurrentUserOps and TestAsUserSleepHEADmaster
Both work with golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a but break with golang.org/x/sys v0.30.0 https://github.com/rfjakob/gocryptfs/issues/893 https://github.com/rfjakob/gocryptfs/issues/892
Diffstat (limited to 'tests/root_test/main_test.go')
-rw-r--r--tests/root_test/main_test.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/root_test/main_test.go b/tests/root_test/main_test.go
index 915c019..d6d5cc4 100644
--- a/tests/root_test/main_test.go
+++ b/tests/root_test/main_test.go
@@ -1,3 +1,5 @@
+//go:build linux
+
package root_test
import (
@@ -9,7 +11,7 @@ import (
func TestMain(m *testing.M) {
test_helpers.ResetTmpDir(true)
- os.Chmod(test_helpers.DefaultCipherDir, 0755)
+ os.Chmod(test_helpers.DefaultCipherDir, 0777)
test_helpers.MountOrExit(test_helpers.DefaultCipherDir, test_helpers.DefaultPlainDir, "-zerokey", "-allow_other")
r := m.Run()
test_helpers.UnmountPanic(test_helpers.DefaultPlainDir)