]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Add workaround for a known issue in non-LMDB BIND builds
authorMichal Nowak <mnowak@isc.org>
Wed, 8 Apr 2020 14:04:56 +0000 (16:04 +0200)
committerTinderbox User <tbox@isc.org>
Thu, 9 Apr 2020 09:53:45 +0000 (09:53 +0000)
Issue isc-projects/bind9#1695.

Work by Michał Kępień.

bin/tests/system/addzone/tests.sh

index cfaee81c328c0b8333401148f30790a2b3ed051d..2254cc722c4cf6c3c66f8d2d352633dbc4798393 100755 (executable)
@@ -719,7 +719,10 @@ ret=0
 $RNDCCMD 10.53.0.3 addzone "test4.baz" '{ type master; file "e.db"; };' > /dev/null 2>&1 || ret=1
 $RNDCCMD 10.53.0.3 addzone "test5.baz" '{ type master; file "e.db"; };' > /dev/null 2>&1 || ret=1
 $RNDCCMD 10.53.0.3 addzone '"test/.baz"' '{ type master; check-names ignore; file "e.db"; };' > /dev/null 2>&1 || ret=1
-$RNDCCMD 10.53.0.3 addzone '"test\".baz"' '{ type master; check-names ignore; file "e.db"; };' > /dev/null 2>&1 || ret=1
+# FIXME: This check triggers a known issue in non-LMDB BIND builds
+if [ -n "${NZD}" ]; then
+    $RNDCCMD 10.53.0.3 addzone '"test\".baz"' '{ type master; check-names ignore; file "e.db"; };' > /dev/null 2>&1 || ret=1
+fi
 $PERL $SYSTEMTESTTOP/stop.pl addzone ns3
 $PERL $SYSTEMTESTTOP/start.pl --noclean --restart --port ${PORT} addzone ns3 || ret=1
 retry_quiet 10 _check_version_bind || ret=1