]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix the isc_rwlock_tryupgrade() function's unit test
authorAram Sargsyan <aram@isc.org>
Wed, 16 Apr 2025 12:56:18 +0000 (12:56 +0000)
committerArаm Sаrgsyаn <aram@isc.org>
Wed, 16 Apr 2025 16:04:08 +0000 (16:04 +0000)
commitb959ac44a7c2c7ee4d60ea0db2cefbd9b2887fde
treeb07d7897e3197169df1fd29de690421569e47184
parent005c23aba778fff8a5ee1dc72ac1afd73d14f644
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.

(cherry picked from commit c27659bc623f2d58bccc9e0d99ca1ad180e8180b)
tests/isc/rwlock_test.c