From df71a5165cf3a193eb6c8b5804be440319583c36 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
Date: Wed, 30 Oct 2024 15:19:24 +0100
Subject: [PATCH 0983/1160] test-sbat: separate the two sbat sections

(cherry picked from commit 07000101eb9529c2d6b5f5402c9fe643c5f98420)
(cherry picked from commit bf681fcdf484ca01e2bb49b7b2659ad4034285df)
---
 src/test/test-sbat.c | 19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)

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
         );
 }
-- 
2.33.0