From 6d3cc6db4ce9ecf8036e9bb8be6ce5453fbb17e4 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 15 Oct 2026 00:34:19 +0900 Subject: internal/testsuite: silence session services These are too noisy and are not useful outside of debugging the test suite itself, so silence them by default. Signed-off-by: Ophestra --- cmd/hakurei/testsuite/sandbox/main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cmd') diff --git a/cmd/hakurei/testsuite/sandbox/main.go b/cmd/hakurei/testsuite/sandbox/main.go index 31e85331..7927882d 100644 --- a/cmd/hakurei/testsuite/sandbox/main.go +++ b/cmd/hakurei/testsuite/sandbox/main.go @@ -35,7 +35,7 @@ func mustStart( ) (pid int, done <-chan error) { _serial := strconv.FormatUint(serial, 10) _, done = testsuite.MustStartWith( - ctx, cred, nil, files, + ctx, cred, false, nil, files, "hakurei", "exec", "-a", strconv.Itoa(identity), "sleep", "infinity", _serial, @@ -202,12 +202,12 @@ func main() { for _, p := range []byte{'a', 'b', 'i', 'p'} { testsuite.MustFail( - &cred, nil, + &cred, nil, false, "hakurei", "exec", "capsh", "--has-"+string(p)+"=CAP_SYS_ADMIN", ) } testsuite.MustFail( - &cred, nil, + &cred, nil, false, "hakurei", "exec", "umount", "-R", "/dev", ) }) -- cgit v1.3.1