]> git.ipfire.org Git - thirdparty/bind9.git/commit
[9.20] fix: test: Fix the isc_rwlock_tryupgrade() function's unit test
authorArаm Sаrgsyаn <aram@isc.org>
Wed, 16 Apr 2025 16:40:51 +0000 (16:40 +0000)
committerArаm Sаrgsyаn <aram@isc.org>
Wed, 16 Apr 2025 16:40:51 +0000 (16:40 +0000)
commit9176fc276d2bb799c7fe3ac48e20a1c79f8cb553
treeb07d7897e3197169df1fd29de690421569e47184
parent005c23aba778fff8a5ee1dc72ac1afd73d14f644
parentb959ac44a7c2c7ee4d60ea0db2cefbd9b2887fde
[9.20] fix: test: Fix the isc_rwlock_tryupgrade() function's unit test

The pthread-based implementation of the isc_rwlock_tryupgrade()
function always returns ISC_R_LOCKBUSY. Fix the test by adding
conditional checks.

Closes #5287

Backport of MR !10398

Merge branch 'backport-5287-pthread-rwlock-tryupgrade-test-fix-9.20' into 'bind-9.20'

See merge request isc-projects/bind9!10403