From: Zbigniew Jędrzejewski-Szmek Date: Wed, 30 Oct 2024 14:19:24 +0000 (+0100) Subject: test-sbat: separate the two sbat sections X-Git-Tag: v256.8~53 X-Git-Url: http://git-history.diyao.me/?a=commitdiff_plain;h=bf681fcdf484ca01e2bb49b7b2659ad4034285df;p=systemd%2F.git test-sbat: separate the two sbat sections (cherry picked from commit 07000101eb9529c2d6b5f5402c9fe643c5f98420) --- diff --git a/src/test/test-sbat.c b/src/test/test-sbat.c index d8546b1ad9..cf9c155c9d 100644 --- a/src/test/test-sbat.c +++ b/src/test/test-sbat.c @@ -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 ); }