From: marcosptf Date: Sun, 13 Mar 2016 03:27:13 +0000 (-0300) Subject: improve dns (checkdnsrr) test coverage X-Git-Tag: php-7.2.0alpha1~22 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c7f45aab014b38a69fec5792771e3b8e8b2b7aad;p=php improve dns (checkdnsrr) test coverage --- diff --git a/ext/standard/tests/checkdnsrr.phpt b/ext/standard/tests/checkdnsrr.phpt new file mode 100644 index 0000000000..9dd64ffe0d --- /dev/null +++ b/ext/standard/tests/checkdnsrr.phpt @@ -0,0 +1,42 @@ +--TEST-- +bool checkdnsrr ( string $host [, string $type = "MX" ] ); +--CREDITS-- +marcosptf - - @phpsp - sao paulo - br +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +Warning: checkdnsrr() expects at least %d parameter, %i given in %s on line %d +NULL +bool(true) +bool(true) +bool(true) +bool(true) +bool(true) +bool(true) +bool(true) +bool(true) +bool(true) +bool(true) +bool(true) +bool(true) +bool(true)