Skip to content

Commit 3e2e2f1

Browse files
committed
Display error message when posix_getgroups() test fails
This test started having many intermittent failures on MacOS recently.
1 parent 7f2f0c0 commit 3e2e2f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/posix/tests/posix_getgroups_basic.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Test posix_getgroups() function : basic functionality
1111
$groups = posix_getgroups();
1212

1313
if (!is_array($groups)) {
14-
echo "TEST FAILED - array result expected\n";
14+
echo "TEST FAILED: ", posix_strerror(posix_get_last_error()), "\n";
1515
} else {
1616
echo "TEST PASSED\n";
1717
}

0 commit comments

Comments
 (0)