]> git.ipfire.org Git - thirdparty/u-boot.git/commit
binman: Use bintool wrappers for PKCS#11 tools in tests
authorSimon Glass <sjg@chromium.org>
Tue, 5 May 2026 18:12:55 +0000 (12:12 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 11 May 2026 18:05:10 +0000 (12:05 -0600)
commit08bcf962c5fe1d2690ac3ff6dd75d3963325476b
tree8cc32130c99273bcef5d13aefd58def4dab758cc
parent44f9ccfdad47deadb1b61896dbbcf004b8c6fa0c
binman: Use bintool wrappers for PKCS#11 tools in tests

The PKCS#11 signing tests in ftest.py call tools.run('softhsm2-util', ...)
directly (and the equivalent for pkcs11-tool and p11-kit), even though
the test setup has already constructed the corresponding Bintool
instances. As Quentin Schulz observed on v1, the bintool wrapper for
these tools is currently used only as an "is this installed?" probe.

Route the eight remaining call sites in ftest.py through
<bintool>.run_cmd(...), which the Bintool base class already provides.
The change is test-side only; no production binman code calls these
tools.

Suggested-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/ftest.py