From fd26fc124fd962f5c71210b529a82b193ac0f345 Mon Sep 17 00:00:00 2001 From: Christopher Phillips Date: Tue, 19 Dec 2023 12:27:43 -0500 Subject: [PATCH] test: move haproxy new new snippet Signed-off-by: Christopher Phillips --- syft/pkg/cataloger/binary/cataloger_test.go | 2 +- .../classifiers/positive/haproxy-1.5.14/haproxy | 1 - .../haproxy | Bin 0 -> 638 bytes 3 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 syft/pkg/cataloger/binary/test-fixtures/classifiers/positive/haproxy-1.5.14/haproxy create mode 100644 syft/pkg/cataloger/binary/test-fixtures/classifiers/positive/haproxy-1.5.14/haproxy-1.5.14-5ff6ed7c0149382701391f268e78793a623d6b8fd2b9b65fe89c08b6041fd4d4-527350-100/haproxy diff --git a/syft/pkg/cataloger/binary/cataloger_test.go b/syft/pkg/cataloger/binary/cataloger_test.go index 212827a81..93074ebee 100644 --- a/syft/pkg/cataloger/binary/cataloger_test.go +++ b/syft/pkg/cataloger/binary/cataloger_test.go @@ -236,7 +236,7 @@ func Test_Cataloger_DefaultClassifiers_PositiveCases(t *testing.T) { Version: "1.5.14", Type: "binary", PURL: "pkg:generic/haproxy@1.5.14", - Locations: locations("haproxy"), + Locations: locations("haproxy-1.5.14-5ff6ed7c0149382701391f268e78793a623d6b8fd2b9b65fe89c08b6041fd4d4-527350-100/haproxy"), Metadata: metadata("haproxy-binary"), }, }, diff --git a/syft/pkg/cataloger/binary/test-fixtures/classifiers/positive/haproxy-1.5.14/haproxy b/syft/pkg/cataloger/binary/test-fixtures/classifiers/positive/haproxy-1.5.14/haproxy deleted file mode 100644 index 7fc2c2a35..000000000 --- a/syft/pkg/cataloger/binary/test-fixtures/classifiers/positive/haproxy-1.5.14/haproxy +++ /dev/null @@ -1 +0,0 @@ -HA-Proxy version 1.5.14 2015/07/02Copyright 2000-2015 Willy Tarreau diff --git a/syft/pkg/cataloger/binary/test-fixtures/classifiers/positive/haproxy-1.5.14/haproxy-1.5.14-5ff6ed7c0149382701391f268e78793a623d6b8fd2b9b65fe89c08b6041fd4d4-527350-100/haproxy b/syft/pkg/cataloger/binary/test-fixtures/classifiers/positive/haproxy-1.5.14/haproxy-1.5.14-5ff6ed7c0149382701391f268e78793a623d6b8fd2b9b65fe89c08b6041fd4d4-527350-100/haproxy new file mode 100644 index 0000000000000000000000000000000000000000..f2f6760e407ba66ff72ac8a57996fb2cd6b28c02 GIT binary patch literal 638 zcmYL{ZHv?}6ovP*zv4m>cA@PgX_B^sg04Hhz$n6uiik+k+)SgjEoth`{Cm@#SvDU6 zxhJ{FIZu)#fdlsFRX_v!1XJVP7-B7C)*Zv_F`Iffju`T(1r=aFBivyFvq1FZ7^y33n69-H7OT1;m6n84Yq;T;%fR(^xOClY--6_sb^*4#TfieWb5Od&6poe5 zBv0WV`pFGFP`KWG-+jGF!JOiIU8B101fA>uph;uTfPVBCXIOPkOTOw%7S;Kfojc{z zkh2u*;Njh;FRSe$0n261WD2*l>&%C{AJH=X`H~wgNLf%M#@2#JWh-L^CzWhy)6|Nv zXjjxUg?krTFsSFluf