diff --git a/syft/pkg/cataloger/binary/cataloger_test.go b/syft/pkg/cataloger/binary/cataloger_test.go index 7fde32a5e..d1540a3e3 100644 --- a/syft/pkg/cataloger/binary/cataloger_test.go +++ b/syft/pkg/cataloger/binary/cataloger_test.go @@ -752,14 +752,14 @@ func Test_Cataloger_DefaultClassifiers_PositiveCases(t *testing.T) { }, }, { - name: "positive-bash-5.2.15", - fixtureDir: "test-fixtures/classifiers/positive/bash-5.2.15", + name: "positive-bash-5.1.16", + fixtureDir: "test-fixtures/classifiers/positive/bash-5.1.16", expected: pkg.Package{ Name: "bash", - Version: "5.2.15", + Version: "5.1.16", Type: "binary", - PURL: "pkg:generic/bash@5.2.15", - Locations: locations("bash"), + PURL: "pkg:generic/bash@5.1.16", + Locations: locations("bash-5.1.16-2c336c63e26881d2f02f34379024e7c314bce572c08cbaa319bacbbec29f93ed-1210190-100/bash"), Metadata: metadata("bash-binary"), }, }, diff --git a/syft/pkg/cataloger/binary/test-fixtures/classifiers/positive/bash-5.1.16/bash-5.1.16-2c336c63e26881d2f02f34379024e7c314bce572c08cbaa319bacbbec29f93ed-1210190-100/bash b/syft/pkg/cataloger/binary/test-fixtures/classifiers/positive/bash-5.1.16/bash-5.1.16-2c336c63e26881d2f02f34379024e7c314bce572c08cbaa319bacbbec29f93ed-1210190-100/bash new file mode 100644 index 000000000..0fb07cbea Binary files /dev/null and b/syft/pkg/cataloger/binary/test-fixtures/classifiers/positive/bash-5.1.16/bash-5.1.16-2c336c63e26881d2f02f34379024e7c314bce572c08cbaa319bacbbec29f93ed-1210190-100/bash differ diff --git a/syft/pkg/cataloger/binary/test-fixtures/classifiers/positive/bash-5.2.15/bash b/syft/pkg/cataloger/binary/test-fixtures/classifiers/positive/bash-5.2.15/bash deleted file mode 100644 index 17c8fc2a0..000000000 --- a/syft/pkg/cataloger/binary/test-fixtures/classifiers/positive/bash-5.2.15/bash +++ /dev/null @@ -1 +0,0 @@ -@(#)Bash version 5.2.15(1) release GNU