[Concept,03/30] test: Increase expect_str/actual_str buffer size

Message ID 20251120025614.2215587-4-sjg@u-boot.org
State New
Headers
Series fit: Improve and test the code to print FIT info |

Commit Message

Simon Glass Nov. 20, 2025, 2:55 a.m. UTC
  From: Simon Glass <simon.glass@canonical.com>

These buffers can be exceeded when checking the FIT output with an RSA
key. Increase the limit to 1K.

Co-developed-by: Claude <noreply@anthropic.com>
Signed-off-by: Simon Glass <simon.glass@canonical.com>
---

 include/test/test.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Patch

diff --git a/include/test/test.h b/include/test/test.h
index 51609e799b7..f2d956e913c 100644
--- a/include/test/test.h
+++ b/include/test/test.h
@@ -78,8 +78,8 @@  struct unit_test_state {
 	bool force_run;
 	void *old_bloblist;
 	bool soft_fail;
-	char expect_str[512];
-	char actual_str[512];
+	char expect_str[1024];
+	char actual_str[1024];
 };
 
 /* Test flags for each test */