FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=17111&edit=1

ID: 17111
Updated by: ken@linux.ie
Reported By: daniel dot oconnor at gmail dot com
Summary: Tests should check environment, skip
Status: Open
Type: Bug
Package: PEAR_Size
Package Version: CVS
PHP Version: 5.3.1
-Assigned To:
+Assigned To: kguest
Roadmap Versions:
New Comment:

-Assigned To:
+Assigned To: kguest



Previous Comments:
------------------------------------------------------------------------

[2010-02-16 11:43:05] doconnor

Description:
------------
http://test.pear.php.net/unit-test-results/phpunit_results.txt

The php installation is /usr/local/bin/php or something silly on this
test machine.

Consider !(is_executable && file_exists) {
markTestSkipped
}

Actual result:
--------------
php -c ../php.ini -f
/home/clockwerx/packages-all/PEAR_Size/tests/AllTests.php
PHPUnit 3.4.10 by Sebastian Bergmann.

.SSSSSSSF

Time: 0 seconds, Memory: 10.75Mb

There was 1 failure:

1) PEAR_Size_Test_Bugs::testBug14474
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-Channel "pear.example.com" does not exist
-
+sh: /usr/bin/php: No such file or directory

/home/clockwerx/packages-all/PEAR_Size/tests/PEAR_Size_TestSuite_Bugs.php:148
/home/clockwerx/packages-all/PEAR_Size/tests/PEAR_Size_TestSuite_Bugs.php:206
/home/clockwerx/packages-all/PEAR_Size/tests/AllTests.php:19
/home/clockwerx/packages-all/PEAR_Size/tests/AllTests.php:34

FAILURES!
Tests: 9, Assertions: 2, Failures: 1, Skipped: 7.

------------------------------------------------------------------------

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 2 | next ›
Discussion Overview
grouppear-bugs @
categoriesphp
postedMar 11, '10 at 12:03a
activeMar 11, '10 at 12:14a
posts2
users1
websitepear.php.net

1 user in discussion

Ken: 2 posts

People

Translate

site design / logo © 2022 Grokbase