]> git.ipfire.org Git - thirdparty/bind9.git/commit
[9.20] fix: test: Ignore softhsm2 errors when deleting token in keyfromlabel test
authorNicki Křížek <nicki@isc.org>
Thu, 19 Jun 2025 14:25:07 +0000 (14:25 +0000)
committerNicki Křížek <nicki@isc.org>
Thu, 19 Jun 2025 14:25:07 +0000 (14:25 +0000)
commitea48c1e32235b31846f1f1d6380ca82edb8fbdfc
tree3f18021da5cb7ecc1d0a3958cf9957ad11a0ec81
parent270970a461bf71176a1799b9226537b6dd7d67f3
parente19e108698d0abae50cc41a56353116ffdd0b8ea
[9.20] fix: test: 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.

Closes #5244

Backport of MR !10607

Merge branch 'backport-5244-ignore-softhsm2util-delete-token-error-9.20' into 'bind-9.20'

See merge request isc-projects/bind9!10608