From: Arаm Sаrgsyаn Date: Wed, 16 Apr 2025 16:40:51 +0000 (+0000) Subject: [9.20] fix: test: Fix the isc_rwlock_tryupgrade() function's unit test X-Git-Tag: v9.20.9~17 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=9176fc276d2bb799c7fe3ac48e20a1c79f8cb553;p=thirdparty%2Fbind9.git [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 --- 9176fc276d2bb799c7fe3ac48e20a1c79f8cb553