]> granicus.if.org Git - php/commitdiff
skip where no groups available
authorJoe Watkins <krakjoe@php.net>
Sat, 1 Jun 2019 05:36:03 +0000 (07:36 +0200)
committerJoe Watkins <krakjoe@php.net>
Sat, 1 Jun 2019 05:36:03 +0000 (07:36 +0200)
ext/posix/tests/posix_getgrnam_basic.phpt

index 8a26c4a19e49e86c5d48f4c327920ff1210e6f8d..2408c62850c0c46d5fc41998256bc8c5e0ed27f5 100644 (file)
@@ -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