summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contrib/getdents-debug/getdents/getdents.go2
-rw-r--r--tests/root_test/root_test.go2
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