Bug #72974 [NEW]: Test getservbyname_basic.phpt fails on AIX

From: Date: Tue, 30 Aug 2016 13:11:18 +0000
Subject: Bug #72974 [NEW]: Test getservbyname_basic.phpt fails on AIX
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-203679@lists.php.net to get a copy of this message
From: matthieu dot sarter dot external at atos dot net Operating system: AIX PHP version: 7.0.10 Package: Network related Bug Type: Bug Bug description:Test getservbyname_basic.phpt fails on AIX Description: ------------ On Linux, both imap and imap2 services are defined, the first beeing an alias of the later. On AIX, only imap2 is defined, so querying for the port number of "imap" service fails. To ensure consistent behaviour on the two OS, I suggest to check for "imap2" when running on AIX if "imap" fails. This is implemented in the attached patch (tested with PHP 7.0.3, 7.0.7, 7.0.9 and 7.0.10 on AIX 6.1). If consistency is not a priority, this test should be skipped when running on AIX. -- Edit bug report at https://bugs.php.net/bug.php?id=72974&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=72974&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=72974&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=72974&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=72974&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=72974&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=72974&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=72974&r=needscript Try newer version: https://bugs.php.net/fix.php?id=72974&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=72974&r=support Expected behavior: https://bugs.php.net/fix.php?id=72974&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=72974&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=72974&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=72974&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=72974&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=72974&r=dst IIS Stability: https://bugs.php.net/fix.php?id=72974&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=72974&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=72974&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=72974&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=72974&r=mysqlcfg

« previous php.bugs (#203679) next »