From 4f25b9b48bdfbc7adeaf320f8d92067afe509b49 Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Fri, 23 Jan 2026 17:18:49 +0100 Subject: pkg/manager: split off diff fuzzer functionality Move the code to a separate pkg/manager/diff package. Split the code into several files. --- pkg/manager/diff/manager_test.go | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pkg/manager/diff/manager_test.go (limited to 'pkg/manager/diff/manager_test.go') diff --git a/pkg/manager/diff/manager_test.go b/pkg/manager/diff/manager_test.go new file mode 100644 index 000000000..7769fc8fd --- /dev/null +++ b/pkg/manager/diff/manager_test.go @@ -0,0 +1,23 @@ +// Copyright 2026 syzkaller project authors. All rights reserved. +// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. + +package diff + +import ( + "testing" + + "github.com/stretchr/testify/assert" +) + +func TestNeedReproForTitle(t *testing.T) { + for title, skip := range map[string]bool{ + "no output from test machine": false, + "SYZFAIL: read failed": false, + "lost connection to test machine": false, + "INFO: rcu detected stall in clone": false, + "WARNING in arch_install_hw_breakpoint": true, + "KASAN: slab-out-of-bounds Write in __bpf_get_stackid": true, + } { + assert.Equal(t, skip, needReproForTitle(title), "title=%q", title) + } +} -- cgit mrf-deployment