-
Notifications
You must be signed in to change notification settings - Fork 560
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add binary classifier for syslog-ng
Signed-off-by: Krystian Gorny <[email protected]>
- Loading branch information
Krystian Gorny
committed
Sep 24, 2024
1 parent
36022ca
commit 2d5fd47
Showing
3 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1203,6 +1203,17 @@ func Test_Cataloger_PositiveCases(t *testing.T) { | |
Metadata: metadata("openssh-binary"), | ||
}, | ||
}, | ||
{ | ||
logicalFixture: "syslog-ng/4.7.1/linux-amd64", | ||
expected: pkg.Package{ | ||
Name: "syslog-ng", | ||
Version: "4.7.1", | ||
Type: "binary", | ||
PURL: "pkg:generic/[email protected]", | ||
Locations: locations("syslog-ng"), | ||
Metadata: metadata("syslog-ng-binary"), | ||
}, | ||
}, | ||
} | ||
|
||
for _, test := range tests { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters