diff options
| author | Taras Madan <tarasmadan@google.com> | 2025-07-03 12:29:03 +0200 |
|---|---|---|
| committer | Taras Madan <tarasmadan@google.com> | 2025-07-03 13:44:30 +0000 |
| commit | 1dff53dc25a42aeeca592d5701a6740f3144211d (patch) | |
| tree | 1dad5eb8b48f1b8daae4e2e59c3cabb9f2dec0e0 /pkg/bisect/bisect_test.go | |
| parent | a9cc82a1dd1c40e23a3f26a29f14b2d8f60c65e2 (diff) | |
pkg/report: use crash.KASANUnknown instead of crash.KASANOther
What we need is the category for "matched unknown KASAN bug".
This king on bugs should be recategorised.
The final goal is to keep this category empty.
Diffstat (limited to 'pkg/bisect/bisect_test.go')
| -rw-r--r-- | pkg/bisect/bisect_test.go | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/pkg/bisect/bisect_test.go b/pkg/bisect/bisect_test.go index 11d14d4fc..30c83db32 100644 --- a/pkg/bisect/bisect_test.go +++ b/pkg/bisect/bisect_test.go @@ -918,47 +918,47 @@ func TestMostFrequentReport(t *testing.T) { { name: "one infrequent", reports: []*report.Report{ - {Title: "A", Type: crash.KASANOther}, - {Title: "B", Type: crash.KASANOther}, + {Title: "A", Type: crash.KASANRead}, + {Title: "B", Type: crash.KASANRead}, {Title: "C", Type: crash.Bug}, - {Title: "D", Type: crash.KASANOther}, + {Title: "D", Type: crash.KASANRead}, {Title: "E", Type: crash.Bug}, - {Title: "F", Type: crash.KASANOther}, + {Title: "F", Type: crash.KASANRead}, {Title: "G", Type: crash.LockdepBug}, }, // LockdepBug was too infrequent. - types: []crash.Type{crash.KASANOther, crash.Bug}, + types: []crash.Type{crash.KASANRead, crash.Bug}, report: "A", other: true, }, { name: "ignore hangs", reports: []*report.Report{ - {Title: "A", Type: crash.KASANOther}, - {Title: "B", Type: crash.KASANOther}, + {Title: "A", Type: crash.KASANRead}, + {Title: "B", Type: crash.KASANRead}, {Title: "C", Type: crash.Hang}, - {Title: "D", Type: crash.KASANOther}, + {Title: "D", Type: crash.KASANRead}, {Title: "E", Type: crash.Hang}, {Title: "F", Type: crash.Hang}, {Title: "G", Type: crash.Warning}, }, // Hang is not a preferred report type. - types: []crash.Type{crash.KASANOther, crash.Warning}, + types: []crash.Type{crash.KASANRead, crash.Warning}, report: "A", other: true, }, { name: "take hangs", reports: []*report.Report{ - {Title: "A", Type: crash.KASANOther}, - {Title: "B", Type: crash.KASANOther}, + {Title: "A", Type: crash.KASANRead}, + {Title: "B", Type: crash.KASANRead}, {Title: "C", Type: crash.Hang}, {Title: "D", Type: crash.Hang}, {Title: "E", Type: crash.Hang}, {Title: "F", Type: crash.Hang}, }, // There are so many Hangs that we can't ignore it. - types: []crash.Type{crash.Hang, crash.KASANOther}, + types: []crash.Type{crash.Hang, crash.KASANRead}, report: "C", }, { |
