From ec186c13cebeea48112aa9a863c278ffc23db197 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Wed, 8 Dec 2021 18:50:42 +0100 Subject: root_test, getdents-debug: restrict to linux This does not work neither make sense on MacOS. --- contrib/getdents-debug/getdents/getdents.go | 2 ++ tests/root_test/root_test.go | 2 ++ 2 files changed, 4 insertions(+) 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 -- cgit v1.2.3