From 5a66e977ff70f0700aecb9753a86bca780aab1d7 Mon Sep 17 00:00:00 2001 From: Thore Sommer Date: Mon, 10 Oct 2022 19:17:07 +0300 Subject: [PATCH 8/9] tests: add eventlog for parsing MokListTrusted Signed-off-by: Thore Sommer --- .../fixtures/event-moklisttrusted.bin | Bin 0 -> 18926 bytes .../fixtures/event-moklisttrusted.bin.yaml | 1228 +++++++++++++++++ test/integration/tests/eventlog.sh | 1 + 3 files changed, 1229 insertions(+) create mode 100644 test/integration/fixtures/event-moklisttrusted.bin create mode 100644 test/integration/fixtures/event-moklisttrusted.bin.yaml diff --git a/test/integration/fixtures/event-moklisttrusted.bin b/test/integration/fixtures/event-moklisttrusted.bin new file mode 100644 index 0000000000000000000000000000000000000000..9db8d06a167798e8f698ff71f7f334e59e5046a1 GIT binary patch literal 18926 zcmeHv2|U!@_y1t*Bv~R$gBDpo24hRvWs59PM1#RtW;BZ>vL!@|y+WldNm(Lf3n|fJ zDWP28`sJ@?#u&pq#R?meFn2n2!we3nXL z;HH%?&IM(phtl`M5h#%2TrqkCJstSPjzG=jS-@rPM(Wwrduv7yGzGm+YUGNA5^P5v zW$n6gB}AJ&z=e&q?I!(P1@H~(gw54?jxL|x8q24`^S#QBJtOxK;p?Fi&46${Pwz!%6jMGPto@4TZqSM(gEXwHTD8$d# zte?FygKyCOJP&uKO-dzWvh-_WhaOegNIUO4p>)X4FZ_an_IRv|FlBj5H1KRf&{KQ2qO5SAm|o1gE=#Kff{Zls2X6LQ%BBk zI<`q8HGwD9cm z67``7hD<1eJ|>fao{pZL74dyM=Jlu4`i~GN6RT9zmZ;C1bad>D2xyyvG_-+DhY?uArdJlNedHs6MYku7cLN`ut7l_Lj6*om5!f>jB~+y<46=O z63*2FOObOS`aq&9ITe%?AVmd`loeHWuH;lyQGn3O^Vxr*$p|{}pF2j!h+v4I<3d0Y zbZqnybaaUL)saDmYu+AP7vU3gA-3g^hwqo?Cd?%&``PK6-94aFeIp|$jIZplZPK1l zjr;CqYV<}$B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