diff --git a/integration/client_server_test.go b/integration/client_server_test.go index a8a5f83f6941..a21e017f7ab7 100644 --- a/integration/client_server_test.go +++ b/integration/client_server_test.go @@ -212,6 +212,13 @@ func TestClientServer(t *testing.T) { }, golden: "testdata/opensuse-leap-151.json.golden", }, + { + name: "opensuse tumbleweed", + args: csArgs{ + Input: "testdata/fixtures/images/opensuse-tumbleweed.tar.gz", + }, + golden: "testdata/opensuse-leap-tumbleweed.json.golden", + }, { name: "photon 3.0", args: csArgs{ diff --git a/integration/testdata/fixtures/db/opensuse.yaml b/integration/testdata/fixtures/db/opensuse.yaml index 0eb4bf5c351c..7041cc51f411 100644 --- a/integration/testdata/fixtures/db/opensuse.yaml +++ b/integration/testdata/fixtures/db/opensuse.yaml @@ -9,4 +9,15 @@ pairs: - key: "openSUSE-SU-2020:0062-1" value: - FixedVersion: 1.1.0i-lp151.8.6.1 \ No newline at end of file + FixedVersion: 1.1.0i-lp151.8.6.1 +- bucket: "openSUSE Tumbleweed" + pairs: + - bucket: libopenssl3 + pairs: + - key: "openSUSE-SU-2024:13065-1" + value: + FixedVersion: 3.1.1-3.1 + pairs: + - key: "openSUSE-SU-2024:13065-1" + value: + FixedVersion: 3.1.1-3.1 diff --git a/pkg/detector/ospkg/suse/suse_test.go b/pkg/detector/ospkg/suse/suse_test.go index 9d39389b3cf5..4db052743e82 100644 --- a/pkg/detector/ospkg/suse/suse_test.go +++ b/pkg/detector/ospkg/suse/suse_test.go @@ -72,7 +72,7 @@ func TestScanner_Detect(t *testing.T) { }, }, { - name: "happy tumbleweed path", + name: "happy path: tumbleweed", fixtures: []string{ "testdata/fixtures/tumbleweed.yaml", "testdata/fixtures/data-source.yaml",