aboutsummaryrefslogtreecommitdiffstats
path: root/syz-cluster/pkg/controller/api_test.go
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2025-07-18 15:04:58 +0200
committerAleksandr Nogikh <nogikh@google.com>2025-07-22 12:06:00 +0000
commit343f8ef4bca603a6a280812c4c6597825fcc63c5 (patch)
treed213da8d163bfa6e393c711e3ab7960374b6211d /syz-cluster/pkg/controller/api_test.go
parentaf30dea9cea0f95c6651fb7ce092f68eedfaec48 (diff)
syz-cluster: remember LKML series tags
Sometimes the patch series directly hint at the kernel tree they should be applied to. Extract and remember this information.
Diffstat (limited to 'syz-cluster/pkg/controller/api_test.go')
-rw-r--r--syz-cluster/pkg/controller/api_test.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/syz-cluster/pkg/controller/api_test.go b/syz-cluster/pkg/controller/api_test.go
index 9e709e089..1c1c8de9f 100644
--- a/syz-cluster/pkg/controller/api_test.go
+++ b/syz-cluster/pkg/controller/api_test.go
@@ -5,11 +5,12 @@ package controller
import (
"bytes"
+ "testing"
+ "time"
+
"github.com/google/syzkaller/syz-cluster/pkg/api"
"github.com/google/syzkaller/syz-cluster/pkg/app"
"github.com/stretchr/testify/assert"
- "testing"
- "time"
)
func TestAPIGetSeries(t *testing.T) {
@@ -108,6 +109,7 @@ var testSeries = &api.Series{
Version: 2,
PublishedAt: time.Date(2020, time.January, 1, 3, 0, 0, 0, time.UTC),
Cc: []string{"email"},
+ SubjectTags: []string{"tag"},
Patches: []api.SeriesPatch{
{
Seq: 1,