From 36320767fb7a615ce36d9e9118cb197e82903d66 Mon Sep 17 00:00:00 2001 From: afjcjsbx Date: Thu, 26 Feb 2026 11:17:59 +0100 Subject: [PATCH] fix: error check --- pkg/tools/shell_timeout_unix_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/tools/shell_timeout_unix_test.go b/pkg/tools/shell_timeout_unix_test.go index d11fe34b7..357e1276e 100644 --- a/pkg/tools/shell_timeout_unix_test.go +++ b/pkg/tools/shell_timeout_unix_test.go @@ -23,6 +23,10 @@ func processExists(pid int) bool { func TestShellTool_TimeoutKillsChildProcess(t *testing.T) { tool, err := NewExecTool(t.TempDir(), false) + if err != nil { + t.Errorf("unable to configure exec tool: %s", err) + } + tool.SetTimeout(500 * time.Millisecond) args := map[string]any{