Skip to content

Commit

Permalink
tests: Add a unit test for mok mirroring.
Browse files Browse the repository at this point in the history
  • Loading branch information
vathpela committed Jul 27, 2021
1 parent 85c7ecb commit c52dc67
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions test-mok-mirror.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// SPDX-License-Identifier: BSD-2-Clause-Patent
/*
* test-mok-mirror.c - try to test our mok mirroring code
* Copyright Peter Jones <pjones@redhat.com>
*/

#include "shim.h"

#include <stdio.h>

static int
test_mok_mirror_0(void)
{
int ret = -1;

return ret;
}

int
main(void)
{
int status = 0;
setbuf(stdout, NULL);

test(test_mok_mirror_0);

return status;
}

// vim:fenc=utf-8:tw=75:noet

0 comments on commit c52dc67

Please sign in to comment.