diff options
author | Simon Glass <sjg@chromium.org> | 2023-01-11 16:10:12 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2023-01-18 14:55:40 -0700 |
commit | 0b079fcb09c5178ea3de62c7983cb03eea62b4e2 (patch) | |
tree | 12bcc4827f4aed1fb70b4e1647f7137323435bc3 /tools/binman/ftest.py | |
parent | 12c3e948eeab0531c7eec813969e089f9f252891 (diff) |
binman: Add a test for an inner section with a size
This is a slightly different scenario from the existing testSections
tests. Add a new test for it.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/ftest.py')
-rw-r--r-- | tools/binman/ftest.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/binman/ftest.py b/tools/binman/ftest.py index 330e8e1ccb4..a4f78ae041a 100644 --- a/tools/binman/ftest.py +++ b/tools/binman/ftest.py @@ -6188,6 +6188,12 @@ fdt fdtmap Extract the devicetree blob from the fdtmap err, "Image '.*' is missing external blobs but is still functional: missing") + def testSectionInner(self): + """Test an inner section with a size""" + data = self._DoReadFile('267_section_inner.dts') + expected = U_BOOT_DATA + tools.get_bytes(0, 12) + self.assertEqual(expected, data) + if __name__ == "__main__": unittest.main() |