test: Update test_fdt_add_pubkey() to use a separate dir

This test uses the same directory as the vboot tests, which means that
they conflict when tests are run in parallel.

Add a 'pk-' prefix to avoid this.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-08-18 05:27:56 -06:00
parent 85d560becc
commit 165aed7671

View File

@@ -634,7 +634,7 @@ def test_fdt_add_pubkey(ubman, name, sha_algo, padding, sign_options, algo_arg):
# Check with fit_check_sign that FIT is signed with key
utils.run_and_log(ubman, [fit_check_sign, '-f', fit, '-k', dtb])
tmpdir = os.path.join(ubman.config.result_dir, name) + '/'
tmpdir = os.path.join(ubman.config.result_dir, f'pk-{name}') + '/'
if not os.path.exists(tmpdir):
os.mkdir(tmpdir)
datadir = ubman.config.source_dir + '/test/py/tests/vboot/'