From 06a0d9eee835b5b6242e773cbab34ec9aba19443 Mon Sep 17 00:00:00 2001 From: Jiaxun Yang Date: Thu, 10 Apr 2025 06:43:03 -0600 Subject: binman: Workaround lz4 cli padding in test cases Newer lz4 util is not happy with any padding at end of file, it would abort with error message like: Stream followed by undecodable data at position 43. Workaround by skipping testCompUtilPadding test case and manually strip padding in testCompressSectionSize test case. Signed-off-by: Jiaxun Yang Reviewed-by: Simon Glass Signed-off-by: Simon Glass Tested-by: Mattijs Korpershoek --- tools/binman/test/184_compress_section_size.dts | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/binman/test') diff --git a/tools/binman/test/184_compress_section_size.dts b/tools/binman/test/184_compress_section_size.dts index 95ed30add1a..1c1dbd5f580 100644 --- a/tools/binman/test/184_compress_section_size.dts +++ b/tools/binman/test/184_compress_section_size.dts @@ -6,6 +6,7 @@ section { size = <0x30>; compress = "lz4"; + pad-byte = <0xff>; blob { filename = "compress"; }; -- cgit v1.3.1