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: v257-rc1~72^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07000101eb9529c2d6b5f5402c9fe643c5f98420;p=thirdparty%2Fsystemd.git test-sbat: separate the two sbat sections --- diff --git a/src/test/test-sbat.c b/src/test/test-sbat.c index d8546b1ad99..cf9c155c9d4 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 ); }