mirror of
https://github.com/systemd/systemd.git
synced 2025-03-21 02:50:18 +03:00
test-sbat: separate the two sbat sections
(cherry picked from commit 07000101eb9529c2d6b5f5402c9fe643c5f98420)
This commit is contained in:
parent
fefd60bf7a
commit
bf681fcdf4
@ -8,17 +8,26 @@
|
||||
#include "sbat.h"
|
||||
#include "tests.h"
|
||||
|
||||
TEST(sbat_section_text) {
|
||||
log_info("---SBAT-----------&<----------------------------------------\n"
|
||||
"%s"
|
||||
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
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user