Project

General

Profile

Actions

Bug #28017

closed

t3lib_divTest::fixPermissionsSetsGroup fails on MacOS

Added by Oliver Klee almost 13 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Tests
Target version:
-
Start date:
2011-07-09
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.6
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

This test fails on Mac OS because the test makes use of posix_getegid() to find out the current process' group ID. However, this function on Mac OS always returns -1 instead of the actual group ID, making it useless (although it exists).

This test is the only part of the core that makes use of the posix_getegid() function. We should check whether this function returns -1 (which means that we're on Mac OS) and skip the test in that case.

Actions

Also available in: Atom PDF