summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJakob Unterwurzacher2022-08-28 11:11:36 +0200
committerJakob Unterwurzacher2022-08-28 11:11:36 +0200
commit003a7fa2e53ac15d2c94a34102ae12b69b23c586 (patch)
tree0235b74635bbc183cf11c11822d5d4b9a1cf5248 /tests
parent4808adc761783e93d6b6d91a9ed4727089f66688 (diff)
make format
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!