diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-10-03 21:04:24 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-10-03 21:20:25 +0900 |
| commit | b452e1047ccd3e1826da16416430e6638270155b (patch) | |
| tree | 7a2338fb7db0b625b38dab1911edcde65271b679 /test/internal/testsuite/testsuite_root.go | |
| parent | aa35067f0caeb709edd60dc76fc68ac33c3e1a25 (diff) | |
test/internal/testsuite: move fs checker
This also cleans up its API and improves error messages.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'test/internal/testsuite/testsuite_root.go')
| -rw-r--r-- | test/internal/testsuite/testsuite_root.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/internal/testsuite/testsuite_root.go b/test/internal/testsuite/testsuite_root.go index 830e272c..11f503ef 100644 --- a/test/internal/testsuite/testsuite_root.go +++ b/test/internal/testsuite/testsuite_root.go @@ -11,4 +11,7 @@ func init() { if os.Geteuid() != 0 { log.Fatal("this program must run as root") } + + log.SetFlags(0) + log.SetPrefix("testsuite: ") } |
