Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
Distributor ID: Ubuntu
Description: Ubuntu 12.04.1 LTS
Release: 12.04
Codename: precisePHP 5.3.10-1ubuntu3.4 with Suhosin-Patch (cli) (built: Sep 12 2012 18:59:41)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
with Xdebug v2.1.0, Copyright (c) 2002-2010, by Derick Rethans
with Zlib extension installedDistributor ID: Ubuntu Description: Ubuntu 12.04.1 LTS Release: 12.04 Codename: precise PHP 5.3.10-1ubuntu3.4 with Suhosin-Patch (cli) (built: Sep 12 2012 18:59:41) Copyright (c) 1997-2012 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies with Xdebug v2.1.0, Copyright (c) 2002-2010, by Derick Rethans with Zlib extension installed
Description
I cloned log4php git repository with anonymous access and tried to run the tests with phpunit. Tests did not pass and I got following error:
char0n:~/projects/php/log4php$ phpunit
PHPUnit 3.5.15 by Sebastian Bergmann.
.............SSSSSS..........SSSSS..........E.................. 63 / 260 ( 24%)
............................................................... 126 / 260 ( 48%)
............................................................... 189 / 260 ( 72%)
.......DEBUG - test
........................................................ 252 / 260 ( 96%)
........
Time: 4 seconds, Memory: 27.75Mb
There was 1 error:
1) LoggerAppenderRollingFileTest::testRolloverWithCompression
filesize(): stat failed for /home/char0n/projects/php/log4php/target/temp/phpunit/TEST-rolling.txt
/home/char0n/projects/php/log4php/src/main/php/appenders/LoggerAppenderRollingFile.php:222
/home/char0n/projects/php/log4php/src/main/php/appenders/LoggerAppenderFile.php:164
/home/char0n/projects/php/log4php/src/main/php/LoggerAppender.php:84
/home/char0n/projects/php/log4php/src/main/php/Logger.php:322
/home/char0n/projects/php/log4php/src/test/php/appenders/LoggerAppenderRollingFileTest.php:156
FAILURES!
Tests: 260, Assertions: 944, Errors: 1, Skipped: 11.
Generating code coverage report, this may take a moment.