mirror of
https://github.com/anchore/syft.git
synced 2026-11-05 08:56:41 +01:00
feat: classifier for util-linux (#2933)
Signed-off-by: Laurent Goderre <laurent.goderre@docker.com>
This commit is contained in:
@@ -616,6 +616,16 @@ func Test_Cataloger_PositiveCases(t *testing.T) {
|
||||
Metadata: metadata("busybox-binary", "[", "busybox"),
|
||||
},
|
||||
},
|
||||
{
|
||||
logicalFixture: `util-linux/2.37.4/linux-amd64`,
|
||||
expected: pkg.Package{
|
||||
Name: "util-linux",
|
||||
Version: "2.37.4",
|
||||
PURL: "pkg:generic/util-linux@2.37.4",
|
||||
Locations: locations("getopt"),
|
||||
Metadata: metadata("util-linux-binary"),
|
||||
},
|
||||
},
|
||||
{
|
||||
logicalFixture: "java-jre-openjdk/1.8.0_352-b08/linux-amd64",
|
||||
expected: pkg.Package{
|
||||
|
||||
Reference in New Issue
Block a user