summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/defaults/overlayfs_test.go1
-rw-r--r--tests/root_test/root_test.go3
-rw-r--r--tests/xattr/xattr_fd_test.go3
3 files changed, 5 insertions, 2 deletions
diff --git a/tests/defaults/overlayfs_test.go b/tests/defaults/overlayfs_test.go
index 7b41de4..8cb773d 100644
--- a/tests/defaults/overlayfs_test.go
+++ b/tests/defaults/overlayfs_test.go
@@ -1,3 +1,4 @@
+//go:build linux
// +build linux
package defaults
diff --git a/tests/root_test/root_test.go b/tests/root_test/root_test.go
index 7d1e296..c4ed7db 100644
--- a/tests/root_test/root_test.go
+++ b/tests/root_test/root_test.go
@@ -1,4 +1,5 @@
-//+build linux
+//go:build linux
+// +build linux
// Package root_test contains tests that need root
// permissions to run
diff --git a/tests/xattr/xattr_fd_test.go b/tests/xattr/xattr_fd_test.go
index 76fc3ab..f3586cf 100644
--- a/tests/xattr/xattr_fd_test.go
+++ b/tests/xattr/xattr_fd_test.go
@@ -1,4 +1,5 @@
-//+build linux
+//go:build linux
+// +build linux
// Darwin does not support Fgetxattr and friends!