aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/manager/diff/manager_test.go
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2026-01-23 17:18:49 +0100
committerAleksandr Nogikh <nogikh@google.com>2026-01-23 20:35:29 +0000
commit4f25b9b48bdfbc7adeaf320f8d92067afe509b49 (patch)
treee66a51fc3786e8bb8abba5ca89cfc152a59e971f /pkg/manager/diff/manager_test.go
parentb4afeb6fb8cde041ba03048f5e123ed3f304a5e6 (diff)
pkg/manager: split off diff fuzzer functionality
Move the code to a separate pkg/manager/diff package. Split the code into several files.
Diffstat (limited to 'pkg/manager/diff/manager_test.go')
-rw-r--r--pkg/manager/diff/manager_test.go23
1 files changed, 23 insertions, 0 deletions
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)
+ }
+}