diff options
Diffstat (limited to 'ext/posix/tests/posix_getgroups_basic.phpt')
| -rw-r--r-- | ext/posix/tests/posix_getgroups_basic.phpt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ext/posix/tests/posix_getgroups_basic.phpt b/ext/posix/tests/posix_getgroups_basic.phpt index f062468b4f..c6294fe127 100644 --- a/ext/posix/tests/posix_getgroups_basic.phpt +++ b/ext/posix/tests/posix_getgroups_basic.phpt @@ -1,21 +1,21 @@ --TEST-- Test posix_getgroups() function : basic functionality --SKIPIF-- -<?php - if (!extension_loaded('posix')) die('skip - POSIX extension not loaded'); +<?php + if (!extension_loaded('posix')) die('skip - POSIX extension not loaded'); ?> --FILE-- -<?php +<?php echo "Basic test of POSIX getgroups\n"; - + $groups = posix_getgroups(); - + if (!is_array($groups)) { - echo "TEST FAILED - array result expected\n"; + echo "TEST FAILED - array result expected\n"; } else { echo "TEST PASSED\n"; - } - + } + ?> ===DONE=== --EXPECT-- |
