aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/internal/testsuite/testsuite_root.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-10-06 22:23:20 +0900
committerOphestra <cat@gensokyo.uk>2026-10-06 23:09:19 +0900
commita9e2749f6654d0aa07b274a45c9177d10323f80a (patch)
tree291f5b23a67af036cbe5d374b3d3fb0240fc438c /test/internal/testsuite/testsuite_root.go
parent19f36491f2e2a5029ac396c10408d653cad6c81b (diff)
internal/testsuite: move from test
This structure is a lot less clumsy than the old nix-centric layout. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'test/internal/testsuite/testsuite_root.go')
-rw-r--r--test/internal/testsuite/testsuite_root.go17
1 files changed, 0 insertions, 17 deletions
diff --git a/test/internal/testsuite/testsuite_root.go b/test/internal/testsuite/testsuite_root.go
deleted file mode 100644
index 11f503ef..00000000
--- a/test/internal/testsuite/testsuite_root.go
+++ /dev/null
@@ -1,17 +0,0 @@
-//go:build testsuite
-
-package testsuite
-
-import (
- "log"
- "os"
-)
-
-func init() {
- if os.Geteuid() != 0 {
- log.Fatal("this program must run as root")
- }
-
- log.SetFlags(0)
- log.SetPrefix("testsuite: ")
-}