diff options
| author | Jakob Unterwurzacher | 2025-02-23 22:29:17 +0100 | 
|---|---|---|
| committer | Jakob Unterwurzacher | 2025-02-23 22:34:56 +0100 | 
| commit | 178f570d4076ee9be408c9eb5e50502275a180c6 (patch) | |
| tree | 3b5cf7ce930915729a6e797b14595c9fc44620e9 /tests/root_test/main_test.go | |
| parent | 3c82930d4ad22b5be2f644346018a0550dd66aa8 (diff) | |
tests/root_test: add TestConcurrentUserOps and TestAsUserSleep
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.go | 4 | 
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)  | 
