Bug #76889 [Opn->Ver]: checkdnsrr.phpt fails because bugs.php.net doesn't have all 12 DNS records
| From: | pmmaga@php.net | Date: | Fri, 05 Oct 2018 00:14:29 +0000 |
| Subject: | Bug #76889 [Opn->Ver]: checkdnsrr.phpt fails because bugs.php.net doesn't have all 12 DNS records | ||
| References: | 1 | Groups: | php.bugs php.qa |
| Request: | Send a blank email to php-bugs+get-217421@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=76889&edit=1
ID: 76889
Updated by: pmmaga@php.net
Reported by: spam2 at rhsoft dot net
Summary: checkdnsrr.phpt fails because bugs.php.net doesn't
have all 12 DNS records
-Status: Open
+Status: Verified
Type: Bug
Package: Testing related
Operating System: Fedora 28
PHP Version: 7.2Git-2018-09-16 (Git)
Block user comment: N
Private report: N
New Comment:
I've opened a PR switching it to use php.net and matching the currently existing records. https://github.com/php/php-src/pull/3577
Previous Comments:
------------------------------------------------------------------------
[2018-09-16 15:27:08] spam2 at rhsoft dot net
> Thanks for reporting this months ago when you first saw it was broken
don't get me wrong but i thought the php-developers are running their test-suite regulary at
their own and look at every faling test as i do all the time with my tests
------------------------------------------------------------------------
[2018-09-16 15:24:06] requinix@php.net
Thanks for reporting this months ago when you first saw it was broken.
checkdnsrr is working fine but it's testing against bugs.php.net which doesn't have all
the record types it wants. I checked a few big name domains and they too generally have about half
of them. I did find ipv6.comcast.net had all 12, but it wouldn't be fair to borrow their
domain.
I think the answer here is taking some php.net domain, like bugs.php.net or some new subdomain, and
just giving it all these records purely for the sake of testing. Could be in Jan 2017 when the test
was first added that it did have everything, but apparently not anymore.
------------------------------------------------------------------------
[2018-09-16 14:27:50] spam2 at rhsoft dot net
Description:
------------
FAILED TEST SUMMARY
---------------------------------------------------------------------
bool checkdnsrr ( string $host [, string $type = "MX" ] );
[ext/standard/tests/checkdnsrr.phpt]
that test now fails for months - why do such issues not get fixed or non-working tests not disabled
so that it's easier for the maintainers to fix remaining ones?
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=76889&edit=1