Bug #17470 [Opn->Bgs]: Trunk unit test failures
| From: | izi@php.net | Date: | Sun, 06 Jun 2010 18:08:36 +0000 |
| Subject: | Bug #17470 [Opn->Bgs]: Trunk unit test failures | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-3889@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=17470&edit=1
ID: 17470
Updated by: izi@php.net
Reported By: daniel dot oconnor at gmail dot com
Summary: Trunk unit test failures
-Status: Open
+Status: Bogus
Type: Bug
Package: Console_CommandLine
Package Version: SVN
PHP Version: 5.3.2
Roadmap Versions:
New Comment:
-Status: Open
+Status: Bogus
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the existing bug instead.
Thank you for your interest in PEAR.
You already reported this bug 4 monthes ago and it was closed as bogus,
see:
https://pear.php.net/bugs/bug.php?id=17113
The test *should* be skipped if you don't have php-cgi. So there's
something wrong
with your configuration.
Previous Comments:
------------------------------------------------------------------------
[2010-06-06 15:45:12] doconnor
Description:
------------
See http://test.pear.php.net/unit-test-results/phpunit_results.txt
Test script:
---------------
php -c ../php.ini -f /home/clockwerx/packages-all/Console_CommandLine
Expected result:
----------------
Tests pass
Actual result:
--------------
php -c ../php.ini -f
/home/clockwerx/packages-all/Console_CommandLine/tests/AllTests.php
PHPUnit 3.4.10 by Sebastian Bergmann.
.....F.......F............F.....................
Time: 13 seconds, Memory: 10.00Mb
There were 3 failures:
1)
/home/clockwerx/packages-all/Console_CommandLine/tests/console_commandline_webrequest_1.phpt
--- Expected
+++ Actual
@@ @@
-some_program version 0.1.0.
+
/home/clockwerx/packages-all/Console_CommandLine/tests/AllTests.php:59
/home/clockwerx/packages-all/Console_CommandLine/tests/AllTests.php:75
2)
/home/clockwerx/packages-all/Console_CommandLine/tests/console_commandline_webrequest_3.phpt
--- Expected
+++ Actual
@@ @@
-array(11) {
- ["true"]=>
- bool(true)
- ["false"]=>
- bool(false)
- ["int"]=>
- int(3)
- ["float"]=>
- float(4)
- ["string"]=>
- string(3) "foo"
- ["counter"]=>
- NULL
- ["callback"]=>
- string(20) "foo__fbzrfgevat__bar"
- ["array"]=>
- array(3) {
- [0]=>
- string(3) "foo"
- [1]=>
- string(3) "bar"
- [2]=>
- string(3) "baz"
- }
- ["password"]=>
- NULL
- ["help"]=>
- NULL
- ["version"]=>
- NULL
-}
-array(2) {
- ["simple"]=>
- string(3) "foo"
- ["multiple"]=>
- array(1) {
- [0]=>
- string(3) "bar"
- }
-}
+
/home/clockwerx/packages-all/Console_CommandLine/tests/AllTests.php:59
/home/clockwerx/packages-all/Console_CommandLine/tests/AllTests.php:75
3)
/home/clockwerx/packages-all/Console_CommandLine/tests/console_commandline_webrequest_2.phpt
--- Expected
+++ Actual
@@ @@
-Description of our parser goes here...
-Usage:
- some_program [options] <simple> <multiple...>
-
-Options:
- -t, --true test the StoreTrue action
- -f, --false test the StoreFalse action
- --int=INT test the StoreInt action
- --float=FLOAT test the StoreFloat action
- -s STRING, --string=STRING test the StoreString action
- -c, --counter test the Counter action
- --callback=callback test the Callback action
- -a ARRAY, --array=ARRAY test the StoreArray action
- -p password, --password=password test the Password action
- -h, --help show this help message and exit
- -v, --version show the program version and exit
-
-Arguments:
- simple test a simple argument
- multiple test a multiple argument
/home/clockwerx/packages-all/Console_CommandLine/tests/AllTests.php:59
/home/clockwerx/packages-all/Console_CommandLine/tests/AllTests.php:75
FAILURES!
Tests: 48, Assertions: 0, Failures: 3.
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=17470&edit=1