mirror of
https://github.com/anchore/syft.git
synced 2025-11-18 00:43:20 +01:00
test: migrate bash fixture to new snippet workflow
Signed-off-by: Christopher Phillips <christopher.phillips@anchore.com>
This commit is contained in:
parent
5e555309f4
commit
d1f3d1197b
@ -752,14 +752,14 @@ func Test_Cataloger_DefaultClassifiers_PositiveCases(t *testing.T) {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "positive-bash-5.2.15",
|
name: "positive-bash-5.1.16",
|
||||||
fixtureDir: "test-fixtures/classifiers/positive/bash-5.2.15",
|
fixtureDir: "test-fixtures/classifiers/positive/bash-5.1.16",
|
||||||
expected: pkg.Package{
|
expected: pkg.Package{
|
||||||
Name: "bash",
|
Name: "bash",
|
||||||
Version: "5.2.15",
|
Version: "5.1.16",
|
||||||
Type: "binary",
|
Type: "binary",
|
||||||
PURL: "pkg:generic/bash@5.2.15",
|
PURL: "pkg:generic/bash@5.1.16",
|
||||||
Locations: locations("bash"),
|
Locations: locations("bash-5.1.16-2c336c63e26881d2f02f34379024e7c314bce572c08cbaa319bacbbec29f93ed-1210190-100/bash"),
|
||||||
Metadata: metadata("bash-binary"),
|
Metadata: metadata("bash-binary"),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Binary file not shown.
@ -1 +0,0 @@
|
|||||||
@(#)Bash version 5.2.15(1) release GNU
|
|
||||||
Loading…
x
Reference in New Issue
Block a user