[BUGFIX] Fatal error function posix_getgroups is not available
authorPhilipp Gampe <forge.typo3.org@philippgampe.info>
Mon, 6 Feb 2012 20:10:26 +0000 (21:10 +0100)
committerJigal van Hemert <jigal@xs4all.nl>
Sat, 24 Mar 2012 09:42:16 +0000 (10:42 +0100)
commit40d8fec12f356b7de9f52f6abce7b0c770a34eb8
treea4a206cbe12ac03049285ffbb481235f6ced9280
parent6ebb82359b9a7d9bc3874cdc7e5f689b6734e680
[BUGFIX] Fatal error function posix_getgroups is not available

This happens for the mkdirSetsGroupOwnershipOfCreatedDirectory() test in
t3lib_divTest.

Solution, just skip the test if the function does not exists.

Also do same safety check for posix_getegid() as done some tests above.

Change-Id: I18cbebc0b22ae5a7318673ed8abd2bd01003ba57
Fixes: #33718
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/8867
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
tests/t3lib/class.t3lib_divTest.php