summaryrefslogtreecommitdiff
path: root/tools/binman/bintool_test.py
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2025-03-12 10:25:33 -0600
committerTom Rini <trini@konsulko.com>2025-03-12 10:25:33 -0600
commit19a342f9122780a67d96887eae3ab62a189126d5 (patch)
tree2e4b08d01fa74a1afd280a40bbea31d901c8261f /tools/binman/bintool_test.py
parent81ef65099ed49c75281c3a8d3b6cb02abd2e009e (diff)
parent326b7ea9823a74a83b3a7ef6ee3f4927eb36987e (diff)
Merge patch series "binman: build_from_git: Add argument specifying branch"
This series from Leonard Anderweit <l.anderweit@phytec.de> provides some improvements to the binman tool and i.MX specific tooling then makes use of it. Link: https://lore.kernel.org/r/20250226210501.72794-1-l.anderweit@phytec.de
Diffstat (limited to 'tools/binman/bintool_test.py')
-rw-r--r--tools/binman/bintool_test.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/binman/bintool_test.py b/tools/binman/bintool_test.py
index f9b16d4c73b..949d6f4c8a9 100644
--- a/tools/binman/bintool_test.py
+++ b/tools/binman/bintool_test.py
@@ -303,6 +303,7 @@ class TestBintool(unittest.TestCase):
# See Bintool.build_from_git()
tmpdir = cmd[2]
self.fname = os.path.join(tmpdir, 'pathname')
+ os.makedirs(os.path.dirname(tmpdir), exist_ok=True)
tools.write_file(self.fname, b'hello')
expected = b'this is a test'