From 060a65e899859dcbf42049a18be20ce7118e7c0e Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Mon, 23 Jan 2023 11:29:41 -0700 Subject: [PATCH] binman: Fix a test-coverage regression Unfortunately a recent patch snuck through without the require test coverage. Fix it. Signed-off-by: Simon Glass Fixes: 571bc4e67d3 ("binman: Support positioning an entry by and ELF symbol") --- tools/binman/elf_test.py | 13 ++++++++++++- tools/binman/entry_test.py | 19 +++++++++++++++++++ tools/binman/test/embed_data.c | 1 + 3 files changed, 32 insertions(+), 1 deletion(-) diff --git a/tools/binman/elf_test.py b/tools/binman/elf_test.py index 082a3e1d28..8cb55ebb81 100644 --- a/tools/binman/elf_test.py +++ b/tools/binman/elf_test.py @@ -242,7 +242,7 @@ class TestElf(unittest.TestCase): end = offset['embed_end'].offset data = tools.read_file(fname) embed_data = data[start:end] - expect = struct.pack('