Project

General

Profile

Actions

Bug #23681

closed

phpunit shows green bar, although test execution failed with fatal error

Added by Steffen Gebert about 14 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-10-05
Due date:
% Done:

0%

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

Description

On my MacOS, phpunit shows a green bar for t3lib_div (<-- that's why I report it as core issue!), although not all tests are properly executed!

Function posix_getegid() is not defined, but the error message only gets visible, if you also show the listing of successful tests.
This has to be fixed, as otherwise we might have the wrong impression that unit tests succeed, although the aren't executed!

Call to undefined function posix_getegid() in /opt/local/apache2/vhosts/typo3dev/tests/t3lib/t3lib_divTest.php
t3lib_divTest->checkFixPermissionsCorrectlySetsPermissionsToFile( )
(issue imported from #M15909)


Files

Screen shot 2010-10-05 at 22.35.56.png (69.5 KB) Screen shot 2010-10-05 at 22.35.56.png Administrator Admin, 2010-10-05 22:36

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #24419: fixPermissions* tests rely on availability of posix_getegid()ClosedSteffen Gebert2010-12-26

Actions
Actions #1

Updated by Oliver Klee about 14 years ago

This is a bug in the phpunit extension - could you please report it at forge? Thanks! :-)

Actions #3

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF