cvs: pear-core /tests/PEAR_Command_Install/upgrade test_bug4060.phpt /tests/PEAR_Error pear_error.phpt /tests/PEAR_Installer
test_install_complexlocalpackage2_depinstalled.phpt test_install_complexlocalpackage2_nodeps.phpt test_install_simplelocalpackage2.phpt
test_upgrade_bug3808.phpt test_upgrade_simplelocalpackage2.phpt test_upgrade_simplelocalpackage2_notinstalled.phpt /tests/PEAR_Installer_Role
test_getInstallableRoles.phpt

From: Date: Wed, 14 May 2008 03:06:56 +0000
Subject: cvs: pear-core /tests/PEAR_Command_Install/upgrade test_bug4060.phpt /tests/PEAR_Error pear_error.phpt /tests/PEAR_Installer
test_install_complexlocalpackage2_depinstalled.phpt test_install_complexlocalpackage2_nodeps.phpt test_install_simplelocalpackage2.phpt
test_upgrade_bug3808.phpt test_upgrade_simplelocalpackage2.phpt test_upgrade_simplelocalpackage2_notinstalled.phpt /tests/PEAR_Installer_Role
test_getInstallableRoles.phpt
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-7557@lists.php.net to get a copy of this message
cellog Wed May 14 03:06:56 2008 UTC Modified files: /pear-core/tests/PEAR_Command_Install/upgrade test_bug4060.phpt /pear-core/tests/PEAR_Error pear_error.phpt /pear-core/tests/PEAR_Installer test_install_complexlocalpackage2_depinstalled.phpt test_install_complexlocalpackage2_nodeps.phpt test_install_simplelocalpackage2.phpt test_upgrade_bug3808.phpt test_upgrade_simplelocalpackage2.phpt test_upgrade_simplelocalpackage2_notinstalled.phpt /pear-core/tests/PEAR_Installer_Role test_getInstallableRoles.phpt Log: fix tests for PHP 5.3 compatibility and also recent bugfixes

http://cvs.php.net/viewvc.cgi/pear-core/tests/PEAR_Command_Install/upgrade/test_bug4060.phpt?r1=1.15&r2=1.16&diff_format=u Index: pear-core/tests/PEAR_Command_Install/upgrade/test_bug4060.phpt diff -u pear-core/tests/PEAR_Command_Install/upgrade/test_bug4060.phpt:1.15 pear-core/tests/PEAR_Command_Install/upgrade/test_bug4060.phpt:1.16 --- pear-core/tests/PEAR_Command_Install/upgrade/test_bug4060.phpt:1.15 Wed May 14 02:23:39 2008 +++ pear-core/tests/PEAR_Command_Install/upgrade/test_bug4060.phpt Wed May 14 03:06:55 2008 @@ -1713,7 +1713,32 @@ 0 => 2, 1 => 'successfully committed 30 file operations', ), - 74 => + 74 => + array ( + 0 => 3, + 1 => 'adding to transaction: rmdir ' . $temp_path . '\\test\\Auth_HTTP\\tests', + ), + 75 => + array ( + 0 => 3, + 1 => 'adding to transaction: rmdir ' . $temp_path . '\\test\\Auth_HTTP', + ), + 76 => + array ( + 0 => 3, + 1 => 'adding to transaction: rmdir ' . $temp_path . '\\php\\Auth', + ), + 77 => + array ( + 0 => 2, + 1 => 'about to commit 3 file operations', + ), + 78 => + array ( + 0 => 2, + 1 => 'successfully committed 3 file operations', + ), + 79 => array ( 'info' => array ( @@ -2163,6 +2188,31 @@ ), 87 => array ( + 0 => 3, + 1 => 'adding to transaction: rmdir ' . $temp_path . '/test/Auth_HTTP/tests', + ), + 88 => + array ( + 0 => 3, + 1 => 'adding to transaction: rmdir ' . $temp_path . '/test/Auth_HTTP', + ), + 89 => + array ( + 0 => 3, + 1 => 'adding to transaction: rmdir ' . $temp_path . '/php/Auth', + ), + 90 => + array ( + 0 => 2, + 1 => 'about to commit 3 file operations', + ), + 91 => + array ( + 0 => 2, + 1 => 'successfully committed 3 file operations', + ), + 92 => + array ( 'info' => array ( 'data' => 'upgrade ok: channel://pear.php.net/Auth_HTTP-2.1.6RC1', http://cvs.php.net/viewvc.cgi/pear-core/tests/PEAR_Error/pear_error.phpt?r1=1.2&r2=1.3&diff_format=u Index: pear-core/tests/PEAR_Error/pear_error.phpt diff -u pear-core/tests/PEAR_Error/pear_error.phpt:1.2 pear-core/tests/PEAR_Error/pear_error.phpt:1.3 --- pear-core/tests/PEAR_Error/pear_error.phpt:1.2 Wed May 14 02:23:41 2008 +++ pear-core/tests/PEAR_Error/pear_error.phpt Wed May 14 03:06:55 2008 @@ -18,11 +18,17 @@ if (!defined('E_STRICT')) { define('E_STRICT', -1); } +if (!defined('E_STRICT')) { + define('E_DEPRECATED', -1); +} function test_error_handler($errno, $errmsg, $file, $line, $vars) { if ($errno == E_STRICT) { return; } + if ($errno == E_DEPRECATED) { + return; + } $errortype = array ( 1 => "Error", 2 => "Warning", @@ -45,7 +51,7 @@ print "\n$prefix: $errmsg in $file on line XXX\n"; } -error_reporting(1803); +error_reporting(E_ALL); set_error_handler("test_error_handler"); class Foo_Error extends PEAR_Error @@ -67,12 +73,12 @@ } } -function errorhandler(&$obj) { +function errorhandler($obj) { print "errorhandler function called, obj=".$obj->toString()."\n"; } class errorclass { - function errorhandler(&$obj) { + function errorhandler($obj) { print "errorhandler method called, obj=".$obj->toString()."\n"; } } http://cvs.php.net/viewvc.cgi/pear-core/tests/PEAR_Installer/test_install_complexlocalpackage2_depinstalled.phpt?r1=1.8&r2=1.9&diff_format=u Index: pear-core/tests/PEAR_Installer/test_install_complexlocalpackage2_depinstalled.phpt diff -u pear-core/tests/PEAR_Installer/test_install_complexlocalpackage2_depinstalled.phpt:1.8 pear-core/tests/PEAR_Installer/test_install_complexlocalpackage2_depinstalled.phpt:1.9 --- pear-core/tests/PEAR_Installer/test_install_complexlocalpackage2_depinstalled.phpt:1.8 Sat May 26 00:01:01 2007 +++ pear-core/tests/PEAR_Installer/test_install_complexlocalpackage2_depinstalled.phpt Wed May 14 03:06:55 2008 @@ -529,6 +529,7 @@ array ( 'name' => 'foo.php', 'role' => 'php', + 'md5sum' => '718d8596a14d123d83afb0d5d6d6fd96', 'installed_as' => $temp_path . DIRECTORY_SEPARATOR . 'php' . DIRECTORY_SEPARATOR . 'foo.php', ), ), http://cvs.php.net/viewvc.cgi/pear-core/tests/PEAR_Installer/test_install_complexlocalpackage2_nodeps.phpt?r1=1.6&r2=1.7&diff_format=u Index: pear-core/tests/PEAR_Installer/test_install_complexlocalpackage2_nodeps.phpt diff -u pear-core/tests/PEAR_Installer/test_install_complexlocalpackage2_nodeps.phpt:1.6 pear-core/tests/PEAR_Installer/test_install_complexlocalpackage2_nodeps.phpt:1.7 --- pear-core/tests/PEAR_Installer/test_install_complexlocalpackage2_nodeps.phpt:1.6 Sat May 26 00:01:01 2007 +++ pear-core/tests/PEAR_Installer/test_install_complexlocalpackage2_nodeps.phpt Wed May 14 03:06:55 2008 @@ -685,6 +685,7 @@ array ( 'name' => 'foo.php', 'role' => 'php', + 'md5sum' => '718d8596a14d123d83afb0d5d6d6fd96', 'installed_as' => $temp_path . DIRECTORY_SEPARATOR . 'php' . DIRECTORY_SEPARATOR . 'foo.php', ), ), http://cvs.php.net/viewvc.cgi/pear-core/tests/PEAR_Installer/test_install_simplelocalpackage2.phpt?r1=1.7&r2=1.8&diff_format=u Index: pear-core/tests/PEAR_Installer/test_install_simplelocalpackage2.phpt diff -u pear-core/tests/PEAR_Installer/test_install_simplelocalpackage2.phpt:1.7 pear-core/tests/PEAR_Installer/test_install_simplelocalpackage2.phpt:1.8 --- pear-core/tests/PEAR_Installer/test_install_simplelocalpackage2.phpt:1.7 Sat May 26 00:01:01 2007 +++ pear-core/tests/PEAR_Installer/test_install_simplelocalpackage2.phpt Wed May 14 03:06:55 2008 @@ -243,6 +243,7 @@ array ( 'name' => 'foo.php', 'role' => 'php', + 'md5sum' => '718d8596a14d123d83afb0d5d6d6fd96', 'installed_as' => $temp_path . DIRECTORY_SEPARATOR . 'php' . DIRECTORY_SEPARATOR . 'foo.php', ), ), http://cvs.php.net/viewvc.cgi/pear-core/tests/PEAR_Installer/test_upgrade_bug3808.phpt?r1=1.4&r2=1.5&diff_format=u Index: pear-core/tests/PEAR_Installer/test_upgrade_bug3808.phpt diff -u pear-core/tests/PEAR_Installer/test_upgrade_bug3808.phpt:1.4 pear-core/tests/PEAR_Installer/test_upgrade_bug3808.phpt:1.5 --- pear-core/tests/PEAR_Installer/test_upgrade_bug3808.phpt:1.4 Sat May 26 00:01:01 2007 +++ pear-core/tests/PEAR_Installer/test_upgrade_bug3808.phpt Wed May 14 03:06:55 2008 @@ -262,6 +262,7 @@ array ( 'name' => 'foo.php', 'role' => 'php', + 'md5sum' => '718d8596a14d123d83afb0d5d6d6fd96', 'installed_as' => $temp_path . DIRECTORY_SEPARATOR . 'php' . DIRECTORY_SEPARATOR . 'foo.php', ), ), http://cvs.php.net/viewvc.cgi/pear-core/tests/PEAR_Installer/test_upgrade_simplelocalpackage2.phpt?r1=1.5&r2=1.6&diff_format=u Index: pear-core/tests/PEAR_Installer/test_upgrade_simplelocalpackage2.phpt diff -u pear-core/tests/PEAR_Installer/test_upgrade_simplelocalpackage2.phpt:1.5 pear-core/tests/PEAR_Installer/test_upgrade_simplelocalpackage2.phpt:1.6 --- pear-core/tests/PEAR_Installer/test_upgrade_simplelocalpackage2.phpt:1.5 Sat May 26 00:01:01 2007 +++ pear-core/tests/PEAR_Installer/test_upgrade_simplelocalpackage2.phpt Wed May 14 03:06:55 2008 @@ -254,6 +254,7 @@ array ( 'name' => 'foo1.php', 'role' => 'php', + 'md5sum' => '718d8596a14d123d83afb0d5d6d6fd96', 'installed_as' => $temp_path . DIRECTORY_SEPARATOR . 'php' . DIRECTORY_SEPARATOR . 'foo1.php', ), ), http://cvs.php.net/viewvc.cgi/pear-core/tests/PEAR_Installer/test_upgrade_simplelocalpackage2_notinstalled.phpt?r1=1.5&r2=1.6&diff_format=u Index: pear-core/tests/PEAR_Installer/test_upgrade_simplelocalpackage2_notinstalled.phpt diff -u pear-core/tests/PEAR_Installer/test_upgrade_simplelocalpackage2_notinstalled.phpt:1.5 pear-core/tests/PEAR_Installer/test_upgrade_simplelocalpackage2_notinstalled.phpt:1.6 --- pear-core/tests/PEAR_Installer/test_upgrade_simplelocalpackage2_notinstalled.phpt:1.5 Sat May 26 00:01:01 2007 +++ pear-core/tests/PEAR_Installer/test_upgrade_simplelocalpackage2_notinstalled.phpt Wed May 14 03:06:55 2008 @@ -243,6 +243,7 @@ array ( 'name' => 'foo.php', 'role' => 'php', + 'md5sum' => '718d8596a14d123d83afb0d5d6d6fd96', 'installed_as' => $temp_path . DIRECTORY_SEPARATOR . 'php' . DIRECTORY_SEPARATOR . 'foo.php', ), ), http://cvs.php.net/viewvc.cgi/pear-core/tests/PEAR_Installer_Role/test_getInstallableRoles.phpt?r1=1.5&r2=1.6&diff_format=u Index: pear-core/tests/PEAR_Installer_Role/test_getInstallableRoles.phpt diff -u pear-core/tests/PEAR_Installer_Role/test_getInstallableRoles.phpt:1.5 pear-core/tests/PEAR_Installer_Role/test_getInstallableRoles.phpt:1.6 --- pear-core/tests/PEAR_Installer_Role/test_getInstallableRoles.phpt:1.5 Mon Oct 29 05:44:36 2007 +++ pear-core/tests/PEAR_Installer_Role/test_getInstallableRoles.phpt Wed May 14 03:06:55 2008 @@ -17,8 +17,9 @@ 'ext', 'php', 'script', + 'src', 'test', -), array_slice(PEAR_Installer_Role::getInstallableRoles(), 0, 7), 'test'); +), array_slice(PEAR_Installer_Role::getInstallableRoles(), 0, 8), 'test'); echo 'tests done'; ?> --CLEAN--
« previous php.pear.core (#7557) next »