Bug #15747 [Opn->Csd]: REST for PEAR_Command_Install tests
| From: | helgith at gmail dot com | Date: | Sun, 08 Mar 2009 04:04:23 +0000 |
| Subject: | Bug #15747 [Opn->Csd]: REST for PEAR_Command_Install tests | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-117@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=15747&edit=1
ID: 15747
Updated by: helgith@gmail.com
Reported By: daniel dot oconnor at gmail dot com
Summary: REST for PEAR_Command_Install tests
-Status: Open
+Status: Closed
Type: Bug
Package: PEAR
Package Version: CVS
PHP Version: 5.2.6
-Assigned To:
+Assigned To: dufuz
-Roadmap Versions:
+Roadmap Versions: 1.8.0alpha1
New Comment:
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: dufuz
-Roadmap Versions:
+Roadmap Versions: 1.8.0alpha1
This bug has been fixed in CVS.
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.
Previous Comments:
------------------------------------------------------------------------
[2009-01-23 23:23:23] doconnor
The Install.php patch might not be entirely correct; but I think I've
got it.
It:
1. Doesn't worry about $dorest, it just always looks for REST from the
channel server
2. If the channel server doesn't support rest, raises an error
The tests still fail because the test setup isn't right.
------------------------------------------------------------------------
[2009-01-23 23:04:22] doconnor
test_extinstall.phpt produces:
Warning:
rmdir(/home/clockwerx/pear-cvs/pear-core/tests/PEAR_Command_Install/testinstallertemp):
Directory not empty in
/home/clockwerx/pear-cvs/pear-core/tests/download_test_classes.php.inc
on line 826
... which shouldn't be tricky to fix
------------------------------------------------------------------------
[2009-01-23 23:01:14] doconnor
test_dependsonpecl.phpt produces:
Notice: Undefined property: PEAR_test_mock_pearweb::$_restCalls in
/home/clockwerx/pear-cvs/pear-core/tests/PEAR_test_mock_pearweb.php.inc
on line 75
------------------------------------------------------------------------
[2009-01-23 22:50:54] doconnor
tests/PEAR_Command_Install/upgrade-all/test.phpt
produces:
Notice: Undefined variable: dorest in
/usr/share/php/PEAR/Command/Install.php on line 1222
Notice: Undefined variable: latest in
/usr/share/php/PEAR/Command/Install.php on line 1230
Notice: Undefined variable: latest in
/usr/share/php/PEAR/Command/Install.php on line 1236
Warning: array_change_key_case(): The argument should be an array in
/usr/share/php/PEAR/Command/Install.php on line 1236
------------------------------------------------------------------------
[2009-01-23 22:48:46] doconnor
Description:
------------
A quick patch.
There are some failures that scare me (undefined variables, for
instance)
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=15747&edit=1