]> git.ipfire.org Git - thirdparty/bind9.git/commit
Ignore softhsm2 errors when deleting token in keyfromlabel test
authorNicki Křížek <nicki@isc.org>
Thu, 19 Jun 2025 13:09:39 +0000 (15:09 +0200)
committerNicki Křížek <nicki@isc.org>
Thu, 19 Jun 2025 13:49:34 +0000 (13:49 +0000)
commite786a2e950411fb3ffe1aed140cc4520e4ffd74a
treebbf2e9ba4b97898448a99042954508c0539e018b
parent754ef7152a14a906b76bed28787a7c359c31ae2c
Ignore softhsm2 errors when deleting token in keyfromlabel test

In some rare cases, the softhsm2 utility reports failure to delete the
token directory, despite the token being found. Subsequent attempts to
delete the token again indicate that the token was deleted.

Ignore this cleanup error, as it doesn't prevent our tests from working
properly. There is also an attempt to delete the token before the test
starts which ensures a clean state before the test is executed, in case
there's actually a leftover token.
bin/tests/system/keyfromlabel/tests_keyfromlabel.py