Skip to content

Commit 1fafcd2

Browse files
committed
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3: Fix bug #80137 Fix bug #80138
2 parents 205556c + f5afd0a commit 1fafcd2

File tree

5 files changed

+30
-0
lines changed

5 files changed

+30
-0
lines changed

ext/standard/tests/general_functions/getservbyname_basic.phpt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ Italian PHP TestFest 2009 Cesena 19-20-21 june
55
Fabio Fabbrucci ([email protected])
66
Michele Orselli ([email protected])
77
Simone Gentili ([email protected])
8+
--SKIPIF--
9+
<?php
10+
if(in_array(PHP_OS_FAMILY, ['BSD', 'Darwin', 'Solaris', 'Linux'])){
11+
if (!file_exists("/etc/services")) die("skip reason: missing /etc/services");
12+
}
13+
?>
814
--FILE--
915
<?php
1016

ext/standard/tests/general_functions/getservbyport_basic.phpt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ Italian PHP TestFest 2009 Cesena 19-20-21 june
55
Fabio Fabbrucci ([email protected])
66
Michele Orselli ([email protected])
77
Simone Gentili ([email protected])
8+
--SKIPIF--
9+
<?php
10+
if(in_array(PHP_OS_FAMILY, ['BSD', 'Darwin', 'Solaris', 'Linux'])){
11+
if (!file_exists("/etc/services")) die("skip reason: missing /etc/services");
12+
}
13+
?>
814
--FILE--
915
<?php
1016
if (file_exists("/etc/services")) {

ext/standard/tests/general_functions/getservbyport_variation1.phpt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ Italian PHP TestFest 2009 Cesena 19-20-21 june
77
Fabio Fabbrucci ([email protected])
88
Michele Orselli ([email protected])
99
Simone Gentili ([email protected])
10+
--SKIPIF--
11+
<?php
12+
if(in_array(PHP_OS_FAMILY, ['BSD', 'Darwin', 'Solaris', 'Linux'])){
13+
if (!file_exists("/etc/services")) die("skip reason: missing /etc/services");
14+
}
15+
?>
1016
--FILE--
1117
<?php
1218
var_dump(getservbyport( -1, "tcp" ));

ext/standard/tests/network/getprotobyname_basic.phpt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
getprotobyname function basic test
33
--CREDITS--
44
edgarsandi - <[email protected]>
5+
--SKIPIF--
6+
<?php
7+
if(in_array(PHP_OS_FAMILY, ['BSD', 'Darwin', 'Solaris', 'Linux'])){
8+
if (!file_exists("/etc/protocols")) die("skip reason: missing /etc/protocols");
9+
}
10+
?>
511
--FILE--
612
<?php
713
var_dump(getprotobyname('tcp'));

ext/standard/tests/network/getprotobynumber_basic.phpt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
getprotobynumber function basic test
33
--CREDITS--
44
edgarsandi - <[email protected]>
5+
--SKIPIF--
6+
<?php
7+
if(in_array(PHP_OS_FAMILY, ['BSD', 'Darwin', 'Solaris', 'Linux'])){
8+
if (!file_exists("/etc/protocols")) die("skip reason: missing /etc/protocols");
9+
}
10+
?>
511
--FILE--
612
<?php
713
var_dump(getprotobynumber(6));

0 commit comments

Comments
 (0)