From acc528cbf40c42eb112d2ce66c5f778bd4a397fb Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 16 Apr 2024 16:35:18 +0200 Subject: tools/syz-linter: check t.Logf/Errorf/Fatalf messages Fix checking of Logf, it has string in 0-th arg. Add checking of t.Errorf/Fatalf. --- pkg/ipc/ipc_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/ipc/ipc_test.go') diff --git a/pkg/ipc/ipc_test.go b/pkg/ipc/ipc_test.go index 859e14948..ffb28d0a6 100644 --- a/pkg/ipc/ipc_test.go +++ b/pkg/ipc/ipc_test.go @@ -94,7 +94,7 @@ func TestExecute(t *testing.T) { flags := []ExecFlags{0, FlagThreaded} for _, flag := range flags { - t.Logf("testing flags 0x%x\n", flag) + t.Logf("testing flags 0x%x", flag) cfg := &Config{ Executor: bin, UseShmem: useShmem, -- cgit mrf-deployment