aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-11-20 01:12:54 +0900
committerOphestra <cat@gensokyo.uk>2026-11-20 01:34:59 +0900
commit49ebd9d55c7555589a6b37eafa1d8fe9b5577e62 (patch)
tree00cac199e176a7fb6d2eb4712d65873d02c09330 /cmd
parentb607cf1df6fb3d52f62b6f9a96bb46a4d2eee5ca (diff)
internal/testsuite: notify on long proc scans
This prints a message every second for a long-running proc scan. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/hakurei/testsuite/sandbox/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/hakurei/testsuite/sandbox/main.go b/cmd/hakurei/testsuite/sandbox/main.go
index 4eb36f8c..e340b829 100644
--- a/cmd/hakurei/testsuite/sandbox/main.go
+++ b/cmd/hakurei/testsuite/sandbox/main.go
@@ -43,7 +43,7 @@ func mustStart(
)
var stat syscall.Stat_t
- pid = testsuite.MustScanFor(func(s *testsuite.StatScanner) bool {
+ pid = testsuite.MustScanFor(nil, func(s *testsuite.StatScanner) bool {
select {
case err := <-done:
if err == nil {