com php-src: skip where no groups available: ext/posix/tests/po six_getgrnam_basic.phpt
| From: | Joe Watkins | Date: | Sat, 01 Jun 2019 05:36:03 +0000 |
| Subject: | com php-src: skip where no groups available: ext/posix/tests/po six_getgrnam_basic.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-106502@lists.php.net to get a copy of this message | ||
Commit: d669d55fe1aa5b94231fd2923748fd7bd26b1eb5
Author: Joe Watkins <krakjoe@php.net> Sat, 1 Jun 2019 07:36:03 +0200
Parents: 22213de179b403187771718499c8278b40b812c2
Branches: PHP-7.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=d669d55fe1aa5b94231fd2923748fd7bd26b1eb5
Log:
skip where no groups available
Changed paths:
M ext/posix/tests/posix_getgrnam_basic.phpt
Diff:
diff --git a/ext/posix/tests/posix_getgrnam_basic.phpt b/ext/posix/tests/posix_getgrnam_basic.phpt
index 8a26c4a..2408c62 100644
--- a/ext/posix/tests/posix_getgrnam_basic.phpt
+++ b/ext/posix/tests/posix_getgrnam_basic.phpt
@@ -3,6 +3,7 @@ Test posix_getgrnam() function : basic functionality
--SKIPIF--
<?php
if (!extension_loaded('posix')) die('skip - POSIX extension not loaded');
+ if (!posix_getgroups()) die('skip - groups unavailable (ci)');
?>
--FILE--
<?php