From 5306040dc989f4eb54d28809f5f7ad6b13347c43 Mon Sep 17 00:00:00 2001 From: Matthias Karbe Date: Wed, 23 Sep 2020 14:25:30 +0200 Subject: [PATCH] skip getservbyname() and getservbyport() tests on *nix if there is no /etc/services file --- .../tests/general_functions/getservbyname_basic.phpt | 6 ++++++ .../tests/general_functions/getservbyport_basic.phpt | 6 ++++++ .../tests/general_functions/getservbyport_variation1.phpt | 6 ++++++ 3 files changed, 18 insertions(+) diff --git a/ext/standard/tests/general_functions/getservbyname_basic.phpt b/ext/standard/tests/general_functions/getservbyname_basic.phpt index edc210fc39576..51086f8026789 100644 --- a/ext/standard/tests/general_functions/getservbyname_basic.phpt +++ b/ext/standard/tests/general_functions/getservbyname_basic.phpt @@ -5,6 +5,12 @@ Italian PHP TestFest 2009 Cesena 19-20-21 june Fabio Fabbrucci (fabbrucci@grupporetina.com) Michele Orselli (mo@ideato.it) Simone Gentili (sensorario@gmail.com) +--SKIPIF-- + --FILE-- --FILE-- --FILE--