test: migrate bash fixture to new snippet workflow

Signed-off-by: Christopher Phillips <christopher.phillips@anchore.com>
This commit is contained in:
Christopher Phillips 2023-12-19 11:59:17 -05:00
parent 5e555309f4
commit d1f3d1197b
No known key found for this signature in database
GPG Key ID: 17F8FF2EA7EF0AA0
3 changed files with 5 additions and 6 deletions

View File

@ -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"),
}, },
}, },

View File

@ -1 +0,0 @@
@(#)Bash version 5.2.15(1) release GNU