]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
fix: test: fix random failure on synthrecord system test
authorColin Vidal <colin@isc.org>
Fri, 17 Oct 2025 20:08:54 +0000 (22:08 +0200)
committerColin Vidal <colin@isc.org>
Fri, 17 Oct 2025 20:08:54 +0000 (22:08 +0200)
One of the synthrecord system tests uses a test function to generate an expected name based on some randomly generated IPv6 (using Hypothesis). Turns out the test function generating the name didn't handle the case where the label which encodes the IPv6 could have a leading or trailing '-' character. (The plugin needs to add a leading or trailing 0 so as not to break IDN compatibility.)

Merge branch 'colin/fix-synthrecord-v6test' into 'main'

See merge request isc-projects/bind9!11073


Trivial merge