#51022 [Com]: getservbyname_basic.phpt has incorrect description and misses a skip case
ID: 51022
Comment by: geissert at debian dot org
Reported By: geissert at debian dot org
Status: Feedback
Bug Type: Network related
Operating System: debian sid
PHP Version: 5.3.1
New Comment:
Maybe because it says:
Test function getservby*port*() by *calling it more than or less than
its expected arguments*
The test does nothing of that :)
As to why /etc/services (and friends) wouldn't exist: because it is
only required for networking (not going to strongly push that change,
though.)
Previous Comments:
------------------------------------------------------------------------
[2010-02-12 16:26:03] jani@php.net
Why would you not have /etc/services and how is the description wrong?
(patches are welcome..)
------------------------------------------------------------------------
[2010-02-11 21:29:55] geissert at debian dot org
Description:
------------
The description of
ext/standard/tests/general_functions/getservbyname_basic.phpt is
incorrect, as that's not really what the test is about.
Additionally, a SKIP section should be added to skip the test if
/etc/services does not exist.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=51022&edit=1
Thread (4 messages)