aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/subsystem/linux/subsystems_test.go
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2023-01-18 16:22:07 +0100
committerAleksandr Nogikh <wp32pw@gmail.com>2023-02-10 14:34:44 +0100
commit8d41190df0b6184bac7d8b34765fc84395f27cf4 (patch)
tree92f65cc62e184c1d357bdeece9382f679946c07a /pkg/subsystem/linux/subsystems_test.go
parent7ab1cfa1ba21428ff54bc4d6890628074326e339 (diff)
pkg/subsystem/linux: keep one list for list-merged groups
Otherwise we can get too many mailing lists at the same time.
Diffstat (limited to 'pkg/subsystem/linux/subsystems_test.go')
-rw-r--r--pkg/subsystem/linux/subsystems_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/subsystem/linux/subsystems_test.go b/pkg/subsystem/linux/subsystems_test.go
index b4f0818ff..09d835e3f 100644
--- a/pkg/subsystem/linux/subsystems_test.go
+++ b/pkg/subsystem/linux/subsystems_test.go
@@ -75,7 +75,7 @@ func TestLinuxSubsystemPaths(t *testing.T) {
// For the list of subsystems, see TestLinuxSubsystemsList.
// Here we rely on the same ones.
repo := prepareTestLinuxRepo(t, []byte(testMaintainers))
- subsystems, err := listFromRepoInner(repo, testRules)
+ subsystems, err := listFromRepoInner(repo, nil)
if err != nil {
t.Fatal(err)
}
@@ -106,6 +106,7 @@ func TestLinuxSubsystemPaths(t *testing.T) {
list: []string{"kernel", "mm"},
},
{
+ // Shmem has no mailing list.
path: `mm/shmem.c`,
list: []string{"kernel", "mm"},
},