summaryrefslogtreecommitdiff
path: root/lib/variables.c
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2021-07-23 14:36:23 -0400
committerPeter Jones <pjones@redhat.com>2021-09-07 17:05:04 -0400
commit397f820b8c091ca5e3023b6dbd2f26fb256a19f0 (patch)
tree2c66ee7be8ed85edc6a4e9206127783ad8e35386 /lib/variables.c
parent63a5ae1f7c9383f43e4431316eb0c77bcb079b98 (diff)
downloadefi-boot-shim-397f820b8c091ca5e3023b6dbd2f26fb256a19f0.tar.gz
efi-boot-shim-397f820b8c091ca5e3023b6dbd2f26fb256a19f0.zip
tests: Add a unit test for mok mirroring
Test that our mok mirroring doesn't ever try to delete any variable that it has previously created, and that it properly mirrors at least MokList, MokListX, and SbatLevel, at least when variables actually work. These tests will fail (rather a lot) without 7f64fd6da9458b73c4. Currently valgrind shows a memory leak in this code which is not introduced in this patch series. Since all of our memory is freed on Exit() or when kernel does ExitBootServices(), this doesn't have any significant repercussions. Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'lib/variables.c')
0 files changed, 0 insertions, 0 deletions