diff options
| author | Peter Jones <pjones@redhat.com> | 2021-02-23 15:30:20 -0500 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2021-02-25 10:15:14 -0500 |
| commit | 16f94b261f5b95b4cf5787b27312775cbcd60cc8 (patch) | |
| tree | 61ced5612d71c2885c7ca44a9cff3964639736e5 /include | |
| parent | 22ec4063768306b378fdc11c8661c57d3677e28a (diff) | |
| download | efi-boot-shim-16f94b261f5b95b4cf5787b27312775cbcd60cc8.tar.gz efi-boot-shim-16f94b261f5b95b4cf5787b27312775cbcd60cc8.zip | |
Fix-up and enable a bunch of .sbat section parsing tests.
This brings all the tests Chris Co wrote about parsing the .sbat section
back. Some of the actual test functions became redundant, and some new
ones were needed, but all of the actual test cases should be represented
here.
Note that building and running this test does not quite work yet /on
this branch/. In order to do that, we need some cleanups and
reorganizing that I don't want to push just yet, which can be found on
https://github.com/rhboot/shim/tree/test-reorg
Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/test.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/test.mk b/include/test.mk index 8cdcc332..735d0dc5 100644 --- a/include/test.mk +++ b/include/test.mk @@ -34,6 +34,8 @@ test-random.h: dd if=/dev/urandom bs=512 count=17 of=random.bin xxd -i random.bin test-random.h +test-sbat_FILES = csv.c + tests := $(patsubst %.c,%,$(wildcard test-*.c)) $(tests) :: test-% : test.c test-%.c $(test-%_FILES) |
