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

  • Ken at Mar 11, 2010 at 12:14 am
    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: Assigned
    +Status: Closed
    Type: Bug
    Package: PEAR_Size
    Package Version: CVS
    PHP Version: 5.3.1
    Assigned To: kguest
    Roadmap Versions:
    New Comment:

    -Status: Assigned
    +Status: Closed
    This bug has been fixed in SVN.

    If this was a documentation problem, the fix will appear on
    pear.php.net by the end of next Sunday (CET).

    If this was a problem with the pear.php.net website, the change should
    be live shortly.

    Otherwise, the fix will appear in the package's next release.

    Thank you for the report and for helping us make PEAR better.

    fixed in subversion...


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

    [2010-03-11 00:58:59] kguest

    -Assigned To:
    +Assigned To: kguest


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

    [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.

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

Related Discussions

Discussion Navigation
viewthread | post
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