From: Simon Glass Date: Mon, 23 Jan 2023 18:29:41 +0000 (-0700) Subject: binman: Fix a test-coverage regression X-Git-Tag: v2023.07~185^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=060a65e899859dcbf42049a18be20ce7118e7c0e;p=platform%2Fkernel%2Fu-boot.git 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") --- 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('