Skip to content

Commit

Permalink
added opensuse tumbleweed testing
Browse files Browse the repository at this point in the history
  • Loading branch information
msmeissn committed Jul 3, 2024
1 parent 87d478c commit ec33243
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
7 changes: 7 additions & 0 deletions integration/client_server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down
13 changes: 12 additions & 1 deletion integration/testdata/fixtures/db/opensuse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,15 @@
pairs:
- key: "openSUSE-SU-2020:0062-1"
value:
FixedVersion: 1.1.0i-lp151.8.6.1
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
2 changes: 1 addition & 1 deletion pkg/detector/ospkg/suse/suse_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit ec33243

Please sign in to comment.