Subject: | Tests failing with named-compilezone 9.7.? |
Dear Olaf.
I tried to install Net::DNS::Zone::Parser from CPAN today. It downloaded
the 0.02 version. I had already installed Net::DNS 0.66 and
Net::DNS::SEC 0.16.
I couldn't pass the "make test" step, with several failures. The first
one says
t/02-parser.t .... 1/9
# Failed test '12 RRs read from zonefile'
# at t/02-parser.t line 75.
# got: '0'
# expected: '12'
I dig a little, and I found 2 problems. The first one is that
named-compilezone version 9.7.0-P2 is more strict than 9.6 regarding the
missing A/AAAA records of NSs, so the t/test.db zone fail to load. And
the second problem is that _read_namedcomp is checking a return value
'-1' or a "command failed" output, and in my case I have a "255" exit
code, and a "not loaded due to errors" message.