diff options
author | Jakob Unterwurzacher | 2021-12-08 18:50:42 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2021-12-08 18:50:42 +0100 |
commit | ec186c13cebeea48112aa9a863c278ffc23db197 (patch) | |
tree | f5cb6e0f77affaad474dd4f9b468ebd0c33bc4ab | |
parent | 7d60315cd53080e223051a4f16eb3ace3b86e095 (diff) |
root_test, getdents-debug: restrict to linux
This does not work neither make sense on MacOS.
-rw-r--r-- | contrib/getdents-debug/getdents/getdents.go | 2 | ||||
-rw-r--r-- | tests/root_test/root_test.go | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/contrib/getdents-debug/getdents/getdents.go b/contrib/getdents-debug/getdents/getdents.go index a3cdac4..d10ca12 100644 --- a/contrib/getdents-debug/getdents/getdents.go +++ b/contrib/getdents-debug/getdents/getdents.go @@ -1,3 +1,5 @@ +//+build linux + /* Small tool to try to debug unix.Getdents problems on CIFS mounts ( https://github.com/rfjakob/gocryptfs/issues/483 ) diff --git a/tests/root_test/root_test.go b/tests/root_test/root_test.go index f0f5a1b..fe38cfa 100644 --- a/tests/root_test/root_test.go +++ b/tests/root_test/root_test.go @@ -1,3 +1,5 @@ +//+build linux + // Package root_test contains tests that need root // permissions to run package root_test |