test-sbat: separate the two sbat sections
This commit is contained in:
+14
-5
@@ -8,17 +8,26 @@
|
||||
#include "sbat.h"
|
||||
#include "tests.h"
|
||||
|
||||
TEST(sbat_section_text) {
|
||||
log_info("---SBAT-----------&<----------------------------------------\n"
|
||||
TEST(BOOT_SBAT) {
|
||||
log_info("---SBAT-----------&<-----------------------------------------\n"
|
||||
"%s"
|
||||
"------------------>&-----------------------------------------",
|
||||
#ifdef SBAT_DISTRO
|
||||
SBAT_BOOT_SECTION_TEXT
|
||||
#else
|
||||
"(not defined)"
|
||||
#endif
|
||||
);
|
||||
}
|
||||
|
||||
TEST(STUB_SBAT) {
|
||||
log_info("---SBAT-----------&<-----------------------------------------\n"
|
||||
"%s"
|
||||
"------------------>&-----------------------------------------",
|
||||
#ifdef SBAT_DISTRO
|
||||
SBAT_BOOT_SECTION_TEXT,
|
||||
SBAT_STUB_SECTION_TEXT
|
||||
#else
|
||||
"(not defined)",
|
||||
""
|
||||
"(not defined)"
|
||||
#endif
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user