Index: PEAR_Channelfile/setup.php.inc
===================================================================
RCS file: /repository/pear-core/tests/PEAR_Channelfile/setup.php.inc,v
retrieving revision 1.4
diff -u -r1.4 setup.php.inc
--- PEAR_Channelfile/setup.php.inc	23 May 2005 04:45:57 -0000	1.4
+++ PEAR_Channelfile/setup.php.inc	23 May 2007 19:29:40 -0000
@@ -1,5 +1,6 @@
 <?php
 include "PEAR/ChannelFile.php";
+set_include_path(get_include_path().':'.getcwd()); // allows chdir
 require_once dirname(dirname(__FILE__)) . '/phpt_test.php.inc';
 function postprocess($string)
 {
@@ -7,4 +8,4 @@
 }
 $chf = &new PEAR_ChannelFile;
 $phpt = &new PEAR_PHPTest(true);
-?>
\ No newline at end of file
+?>
Index: PEAR_Channelfile/test_addfunction_basic.phpt
===================================================================
RCS file: /repository/pear-core/tests/PEAR_Channelfile/test_addfunction_basic.phpt,v
retrieving revision 1.3
diff -u -r1.3 test_addfunction_basic.phpt
--- PEAR_Channelfile/test_addfunction_basic.phpt	20 Dec 2004 16:04:55 -0000	1.3
+++ PEAR_Channelfile/test_addfunction_basic.phpt	23 May 2007 19:29:41 -0000
@@ -10,8 +10,7 @@
 <?php
 
 error_reporting(E_ALL);
-chdir(dirname(__FILE__));
-require_once './setup.php.inc';
+require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'setup.php.inc';
 $chf->fromXmlString($first = '<?xml version="1.0" encoding="ISO-8859-1" ?>
 <channel version="1.0" xmlns="http://pear.php.net/channel-1.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -360,4 +359,4 @@
 echo 'tests done';
 ?>
 --EXPECT--
-tests done
\ No newline at end of file
+tests done
Index: PEAR_Channelfile/test_addfunction_mirror.phpt
===================================================================
RCS file: /repository/pear-core/tests/PEAR_Channelfile/test_addfunction_mirror.phpt,v
retrieving revision 1.3
diff -u -r1.3 test_addfunction_mirror.phpt
--- PEAR_Channelfile/test_addfunction_mirror.phpt	20 Dec 2004 16:04:55 -0000	1.3
+++ PEAR_Channelfile/test_addfunction_mirror.phpt	23 May 2007 19:29:41 -0000
@@ -10,8 +10,7 @@
 <?php
 
 error_reporting(E_ALL);
-chdir(dirname(__FILE__));
-require_once './setup.php.inc';
+require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'setup.php.inc';
 $chf->fromXmlString($first = '<?xml version="1.0" encoding="ISO-8859-1" ?>
 <channel version="1.0" xmlns="http://pear.php.net/channel-1.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -247,4 +246,4 @@
 echo 'tests done';
 ?>
 --EXPECT--
-tests done
\ No newline at end of file
+tests done
Index: PEAR_Channelfile/test_addmirror.phpt
===================================================================
RCS file: /repository/pear-core/tests/PEAR_Channelfile/test_addmirror.phpt,v
retrieving revision 1.5
diff -u -r1.5 test_addmirror.phpt
--- PEAR_Channelfile/test_addmirror.phpt	28 May 2005 23:31:29 -0000	1.5
+++ PEAR_Channelfile/test_addmirror.phpt	23 May 2007 19:29:41 -0000
@@ -10,8 +10,7 @@
 <?php
 
 error_reporting(E_ALL);
-chdir(dirname(__FILE__));
-require_once './setup.php.inc';
+require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'setup.php.inc';
 $chf->fromXmlString($first = '<?xml version="1.0" encoding="ISO-8859-1" ?>
 <channel version="1.0" xmlns="http://pear.php.net/channel-1.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -331,4 +330,4 @@
 echo 'tests done';
 ?>
 --EXPECT--
-tests done
\ No newline at end of file
+tests done
Index: PEAR_Channelfile/test_getpath.phpt
===================================================================
RCS file: /repository/pear-core/tests/PEAR_Channelfile/test_getpath.phpt,v
retrieving revision 1.1
diff -u -r1.1 test_getpath.phpt
--- PEAR_Channelfile/test_getpath.phpt	23 May 2005 02:06:15 -0000	1.1
+++ PEAR_Channelfile/test_getpath.phpt	23 May 2007 19:29:41 -0000
@@ -10,8 +10,7 @@
 <?php
 
 error_reporting(E_ALL);
-chdir(dirname(__FILE__));
-require_once './setup.php.inc';
+require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'setup.php.inc';
 $chf->fromXmlString($first = '<?xml version="1.0" encoding="ISO-8859-1" ?>
 <channel version="1.0" xmlns="http://pear.php.net/channel-1.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -77,4 +76,4 @@
 echo 'tests done';
 ?>
 --EXPECT--
-tests done
\ No newline at end of file
+tests done
Index: PEAR_Channelfile/test_getport.phpt
===================================================================
RCS file: /repository/pear-core/tests/PEAR_Channelfile/test_getport.phpt,v
retrieving revision 1.1
diff -u -r1.1 test_getport.phpt
--- PEAR_Channelfile/test_getport.phpt	23 May 2005 02:06:15 -0000	1.1
+++ PEAR_Channelfile/test_getport.phpt	23 May 2007 19:29:41 -0000
@@ -10,8 +10,7 @@
 <?php
 
 error_reporting(E_ALL);
-chdir(dirname(__FILE__));
-require_once './setup.php.inc';
+require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'setup.php.inc';
 $chf->fromXmlString($first = '<?xml version="1.0" encoding="ISO-8859-1" ?>
 <channel version="1.0" xmlns="http://pear.php.net/channel-1.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -120,4 +119,4 @@
 echo 'tests done';
 ?>
 --EXPECT--
-tests done
\ No newline at end of file
+tests done
Index: PEAR_Channelfile/test_getssl.phpt
===================================================================
RCS file: /repository/pear-core/tests/PEAR_Channelfile/test_getssl.phpt,v
retrieving revision 1.1
diff -u -r1.1 test_getssl.phpt
--- PEAR_Channelfile/test_getssl.phpt	23 May 2005 02:06:15 -0000	1.1
+++ PEAR_Channelfile/test_getssl.phpt	23 May 2007 19:29:41 -0000
@@ -10,8 +10,7 @@
 <?php
 
 error_reporting(E_ALL);
-chdir(dirname(__FILE__));
-require_once './setup.php.inc';
+require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'setup.php.inc';
 $chf->fromXmlString($first = '<?xml version="1.0" encoding="ISO-8859-1" ?>
 <channel version="1.0" xmlns="http://pear.php.net/channel-1.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -85,4 +84,4 @@
 echo 'tests done';
 ?>
 --EXPECT--
-tests done
\ No newline at end of file
+tests done
Index: PEAR_Channelfile/test_parse_basic.phpt
===================================================================
RCS file: /repository/pear-core/tests/PEAR_Channelfile/test_parse_basic.phpt,v
retrieving revision 1.3
diff -u -r1.3 test_parse_basic.phpt
--- PEAR_Channelfile/test_parse_basic.phpt	20 Dec 2004 16:04:55 -0000	1.3
+++ PEAR_Channelfile/test_parse_basic.phpt	23 May 2007 19:29:41 -0000
@@ -10,8 +10,7 @@
 <?php
 
 error_reporting(E_ALL);
-chdir(dirname(__FILE__));
-require_once './setup.php.inc';
+require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'setup.php.inc';
 $chf->fromXmlString($first = '<?xml version="1.0" encoding="ISO-8859-1" ?>
 <channel version="1.0" xmlns="http://pear.php.net/channel-1.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -200,4 +199,4 @@
 echo 'tests done';
 ?>
 --EXPECT--
-tests done
\ No newline at end of file
+tests done
Index: PEAR_Channelfile/test_parse_basic_compatibility.phpt
===================================================================
RCS file: /repository/pear-core/tests/PEAR_Channelfile/test_parse_basic_compatibility.phpt,v
retrieving revision 1.4
diff -u -r1.4 test_parse_basic_compatibility.phpt
--- PEAR_Channelfile/test_parse_basic_compatibility.phpt	20 Dec 2004 16:04:55 -0000	1.4
+++ PEAR_Channelfile/test_parse_basic_compatibility.phpt	23 May 2007 19:29:41 -0000
@@ -10,8 +10,7 @@
 <?php
 
 error_reporting(E_ALL);
-chdir(dirname(__FILE__));
-require_once './setup.php.inc';
+require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'setup.php.inc';
 $chf = new PEAR_ChannelFile(true);
 $chf->fromXmlString($first = '<?xml version="1.0" encoding="ISO-8859-1" ?>
 <channel version="1.0" xmlns="http://pear.php.net/channel-1.0"
Index: PEAR_Channelfile/test_parse_validatepackage.phpt
===================================================================
RCS file: /repository/pear-core/tests/PEAR_Channelfile/test_parse_validatepackage.phpt,v
retrieving revision 1.3
diff -u -r1.3 test_parse_validatepackage.phpt
--- PEAR_Channelfile/test_parse_validatepackage.phpt	20 Dec 2004 16:04:55 -0000	1.3
+++ PEAR_Channelfile/test_parse_validatepackage.phpt	23 May 2007 19:29:41 -0000
@@ -10,8 +10,7 @@
 <?php
 
 error_reporting(E_ALL);
-chdir(dirname(__FILE__));
-require_once './setup.php.inc';
+require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'setup.php.inc';
 $chf->fromXmlString($first = '<?xml version="1.0" encoding="ISO-8859-1" ?>
 <channel version="1.0" xmlns="http://pear.php.net/channel-1.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -299,4 +298,4 @@
 echo 'tests done';
 ?>
 --EXPECT--
-tests done
\ No newline at end of file
+tests done
Index: PEAR_Channelfile/test_resetfunctions.phpt
===================================================================
RCS file: /repository/pear-core/tests/PEAR_Channelfile/test_resetfunctions.phpt,v
retrieving revision 1.3
diff -u -r1.3 test_resetfunctions.phpt
--- PEAR_Channelfile/test_resetfunctions.phpt	20 Dec 2004 16:04:55 -0000	1.3
+++ PEAR_Channelfile/test_resetfunctions.phpt	23 May 2007 19:29:41 -0000
@@ -10,8 +10,7 @@
 <?php
 
 error_reporting(E_ALL);
-chdir(dirname(__FILE__));
-require_once './setup.php.inc';
+require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'setup.php.inc';
 $chf->fromXmlString($first = '<?xml version="1.0" encoding="ISO-8859-1" ?>
 <channel version="1.0" xmlns="http://pear.php.net/channel-1.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -139,4 +138,4 @@
 echo 'tests done';
 ?>
 --EXPECT--
-tests done
\ No newline at end of file
+tests done
Index: PEAR_Channelfile/test_resetfunctions_basic.phpt
===================================================================
RCS file: /repository/pear-core/tests/PEAR_Channelfile/test_resetfunctions_basic.phpt,v
retrieving revision 1.4
diff -u -r1.4 test_resetfunctions_basic.phpt
--- PEAR_Channelfile/test_resetfunctions_basic.phpt	20 Dec 2004 16:04:55 -0000	1.4
+++ PEAR_Channelfile/test_resetfunctions_basic.phpt	23 May 2007 19:29:42 -0000
@@ -10,8 +10,7 @@
 <?php
 
 error_reporting(E_ALL);
-chdir(dirname(__FILE__));
-require_once './setup.php.inc';
+require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'setup.php.inc';
 $chf->fromXmlString($first = '<?xml version="1.0" encoding="ISO-8859-1" ?>
 <channel version="1.0" xmlns="http://pear.php.net/channel-1.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Index: PEAR_Channelfile/test_resetfunctions_mirror.phpt
===================================================================
RCS file: /repository/pear-core/tests/PEAR_Channelfile/test_resetfunctions_mirror.phpt,v
retrieving revision 1.3
diff -u -r1.3 test_resetfunctions_mirror.phpt
--- PEAR_Channelfile/test_resetfunctions_mirror.phpt	20 Dec 2004 16:04:55 -0000	1.3
+++ PEAR_Channelfile/test_resetfunctions_mirror.phpt	23 May 2007 19:29:42 -0000
@@ -10,8 +10,7 @@
 <?php
 
 error_reporting(E_ALL);
-chdir(dirname(__FILE__));
-require_once './setup.php.inc';
+require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'setup.php.inc';
 $chf->fromXmlString($first = '<?xml version="1.0" encoding="ISO-8859-1" ?>
 <channel version="1.0" xmlns="http://pear.php.net/channel-1.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Index: PEAR_Channelfile/test_resetfunctions_rest.phpt
===================================================================
RCS file: /repository/pear-core/tests/PEAR_Channelfile/test_resetfunctions_rest.phpt,v
retrieving revision 1.3
diff -u -r1.3 test_resetfunctions_rest.phpt
--- PEAR_Channelfile/test_resetfunctions_rest.phpt	11 May 2005 21:34:08 -0000	1.3
+++ PEAR_Channelfile/test_resetfunctions_rest.phpt	23 May 2007 19:29:42 -0000
@@ -10,8 +10,7 @@
 <?php
 
 error_reporting(E_ALL);
-chdir(dirname(__FILE__));
-require_once './setup.php.inc';
+require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'setup.php.inc';
 $chf->fromXmlString($first = '<?xml version="1.0" encoding="ISO-8859-1" ?>
 <channel version="1.0" xmlns="http://pear.php.net/channel-1.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -82,4 +81,4 @@
 echo 'tests done';
 ?>
 --EXPECT--
-tests done
\ No newline at end of file
+tests done
Index: PEAR_Channelfile/test_resetfunctions_soap.phpt
===================================================================
RCS file: /repository/pear-core/tests/PEAR_Channelfile/test_resetfunctions_soap.phpt,v
retrieving revision 1.3
diff -u -r1.3 test_resetfunctions_soap.phpt
--- PEAR_Channelfile/test_resetfunctions_soap.phpt	20 Dec 2004 16:04:55 -0000	1.3
+++ PEAR_Channelfile/test_resetfunctions_soap.phpt	23 May 2007 19:29:42 -0000
@@ -10,8 +10,8 @@
 <?php
 
 error_reporting(E_ALL);
-chdir(dirname(__FILE__));
-require_once './setup.php.inc';$chf->fromXmlString($first = '<?xml version="1.0" encoding="ISO-8859-1" ?>
+require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'setup.php.inc';
+$chf->fromXmlString($first = '<?xml version="1.0" encoding="ISO-8859-1" ?>
 <channel version="1.0" xmlns="http://pear.php.net/channel-1.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://pear.php.net/dtd/channel-1.0.xsd">
@@ -138,4 +138,4 @@
 echo 'tests done';
 ?>
 --EXPECT--
-tests done
\ No newline at end of file
+tests done
Index: PEAR_Channelfile/test_setalias.phpt
===================================================================
RCS file: /repository/pear-core/tests/PEAR_Channelfile/test_setalias.phpt,v
retrieving revision 1.3
diff -u -r1.3 test_setalias.phpt
--- PEAR_Channelfile/test_setalias.phpt	20 Dec 2004 16:04:55 -0000	1.3
+++ PEAR_Channelfile/test_setalias.phpt	23 May 2007 19:29:42 -0000
@@ -10,8 +10,7 @@
 <?php
 
 error_reporting(E_ALL);
-chdir(dirname(__FILE__));
-require_once './setup.php.inc';
+require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'setup.php.inc';
 $chf->fromXmlString($first = '<?xml version="1.0" encoding="ISO-8859-1" ?>
 <channel version="1.0" xmlns="http://pear.php.net/channel-1.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -284,4 +283,4 @@
 echo 'tests done';
 ?>
 --EXPECT--
-tests done
\ No newline at end of file
+tests done
Index: PEAR_Channelfile/test_setname.phpt
===================================================================
RCS file: /repository/pear-core/tests/PEAR_Channelfile/test_setname.phpt,v
retrieving revision 1.3
diff -u -r1.3 test_setname.phpt
--- PEAR_Channelfile/test_setname.phpt	20 Dec 2004 16:04:55 -0000	1.3
+++ PEAR_Channelfile/test_setname.phpt	23 May 2007 19:29:42 -0000
@@ -10,8 +10,7 @@
 <?php
 
 error_reporting(E_ALL);
-chdir(dirname(__FILE__));
-require_once './setup.php.inc';
+require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'setup.php.inc';
 $chf->fromXmlString($first = '<?xml version="1.0" encoding="ISO-8859-1" ?>
 <channel version="1.0" xmlns="http://pear.php.net/channel-1.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -201,4 +200,4 @@
 echo 'tests done';
 ?>
 --EXPECT--
-tests done
\ No newline at end of file
+tests done
Index: PEAR_Channelfile/test_setpath.phpt
===================================================================
RCS file: /repository/pear-core/tests/PEAR_Channelfile/test_setpath.phpt,v
retrieving revision 1.1
diff -u -r1.1 test_setpath.phpt
--- PEAR_Channelfile/test_setpath.phpt	28 May 2005 22:01:31 -0000	1.1
+++ PEAR_Channelfile/test_setpath.phpt	23 May 2007 19:29:42 -0000
@@ -10,8 +10,7 @@
 <?php
 
 error_reporting(E_ALL);
-chdir(dirname(__FILE__));
-require_once './setup.php.inc';
+require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'setup.php.inc';
 $phpt->assertTrue($chf->setPath('xmlrpc', 'hi'), 'first time');
 $phpt->assertEquals('hi', $chf->getPath('xmlrpc'), 'first');
 $phpt->assertTrue($chf->setPath('soap', 'byebye'), 'first time soap');
@@ -38,4 +37,4 @@
 echo 'tests done';
 ?>
 --EXPECT--
-tests done
\ No newline at end of file
+tests done
Index: PEAR_Channelfile/test_setport.phpt
===================================================================
RCS file: /repository/pear-core/tests/PEAR_Channelfile/test_setport.phpt,v
retrieving revision 1.2
diff -u -r1.2 test_setport.phpt
--- PEAR_Channelfile/test_setport.phpt	28 May 2005 22:01:31 -0000	1.2
+++ PEAR_Channelfile/test_setport.phpt	23 May 2007 19:29:42 -0000
@@ -10,8 +10,7 @@
 <?php
 
 error_reporting(E_ALL);
-chdir(dirname(__FILE__));
-require_once './setup.php.inc';
+require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'setup.php.inc';
 $phpt->assertTrue($chf->setPort(234), 'first time');
 $phpt->assertEquals(234, $chf->getPort(), 'first');
 $res = $chf->setPort(234, 'notfound');
@@ -33,4 +32,4 @@
 echo 'tests done';
 ?>
 --EXPECT--
-tests done
\ No newline at end of file
+tests done
Index: PEAR_Channelfile/test_setssl.phpt
===================================================================
RCS file: /repository/pear-core/tests/PEAR_Channelfile/test_setssl.phpt,v
retrieving revision 1.1
diff -u -r1.1 test_setssl.phpt
--- PEAR_Channelfile/test_setssl.phpt	28 May 2005 22:01:31 -0000	1.1
+++ PEAR_Channelfile/test_setssl.phpt	23 May 2007 19:29:42 -0000
@@ -10,8 +10,7 @@
 <?php
 
 error_reporting(E_ALL);
-chdir(dirname(__FILE__));
-require_once './setup.php.inc';
+require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'setup.php.inc';
 $phpt->assertTrue($chf->setSSL(), 'first time');
 $phpt->assertEquals(true, $chf->getSSL(), 'first');
 $res = $chf->setSSL(true, 'notfound');
@@ -33,4 +32,4 @@
 echo 'tests done';
 ?>
 --EXPECT--
-tests done
\ No newline at end of file
+tests done
Index: PEAR_Channelfile/test_setsummary.phpt
===================================================================
RCS file: /repository/pear-core/tests/PEAR_Channelfile/test_setsummary.phpt,v
retrieving revision 1.3
diff -u -r1.3 test_setsummary.phpt
--- PEAR_Channelfile/test_setsummary.phpt	20 Dec 2004 16:04:55 -0000	1.3
+++ PEAR_Channelfile/test_setsummary.phpt	23 May 2007 19:29:42 -0000
@@ -10,8 +10,7 @@
 <?php
 
 error_reporting(E_ALL);
-chdir(dirname(__FILE__));
-require_once './setup.php.inc';
+require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'setup.php.inc';
 $chf->fromXmlString($first = '<?xml version="1.0" encoding="ISO-8859-1" ?>
 <channel version="1.0" xmlns="http://pear.php.net/channel-1.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Index: PEAR_Channelfile/test_setvalidationpackage.phpt
===================================================================
RCS file: /repository/pear-core/tests/PEAR_Channelfile/test_setvalidationpackage.phpt,v
retrieving revision 1.3
diff -u -r1.3 test_setvalidationpackage.phpt
--- PEAR_Channelfile/test_setvalidationpackage.phpt	20 Dec 2004 16:04:55 -0000	1.3
+++ PEAR_Channelfile/test_setvalidationpackage.phpt	23 May 2007 19:29:42 -0000
@@ -10,8 +10,7 @@
 <?php
 
 error_reporting(E_ALL);
-chdir(dirname(__FILE__));
-require_once './setup.php.inc';
+require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'setup.php.inc';
 $chf->fromXmlString($first = '<?xml version="1.0" encoding="ISO-8859-1" ?>
 <channel version="1.0" xmlns="http://pear.php.net/channel-1.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Index: PEAR_Command/setup.php.inc
===================================================================
RCS file: /repository/pear-core/tests/PEAR_Command/setup.php.inc,v
retrieving revision 1.3
diff -u -r1.3 setup.php.inc
--- PEAR_Command/setup.php.inc	3 Feb 2006 05:07:19 -0000	1.3
+++ PEAR_Command/setup.php.inc	23 May 2007 19:29:42 -0000
@@ -1,4 +1,5 @@
 <?php
+set_include_path(get_include_path().':'.getcwd()); // allows chdir
 
 $server = 'pear.Chiara';
 //$server = 'test.pear.php.net';
@@ -70,4 +71,4 @@
 $config = &PEAR_Config::singleton($temp_path . '/pear.ini');
 test_PEAR_Dependency2::singleton($config);
 require_once 'PEAR/Command.php';
-?>
\ No newline at end of file
+?>
Index: PEAR_Command_Auth/setup.php.inc
===================================================================
RCS file: /repository/pear-core/tests/PEAR_Command_Auth/setup.php.inc,v
retrieving revision 1.2
diff -u -r1.2 setup.php.inc
--- PEAR_Command_Auth/setup.php.inc	3 Feb 2006 05:05:42 -0000	1.2
+++ PEAR_Command_Auth/setup.php.inc	23 May 2007 19:29:43 -0000
@@ -1,4 +1,5 @@
 <?php
+set_include_path(get_include_path().':'.getcwd()); // allows chdir
 
 $server = 'pear.Chiara';
 //$server = 'test.pear.php.net';
@@ -75,4 +76,4 @@
 $config = &new test_PEAR_Config($temp_path . '/pear.ini', $temp_path . '/pear.conf');
 require_once 'PEAR/Command/Auth.php';
 $command = &new PEAR_Command_Auth($fakelog, $config);
-?>
\ No newline at end of file
+?>
Index: PEAR_Command_Channels/setup.php.inc
===================================================================
RCS file: /repository/pear-core/tests/PEAR_Command_Channels/setup.php.inc,v
retrieving revision 1.4
diff -u -r1.4 setup.php.inc
--- PEAR_Command_Channels/setup.php.inc	17 Apr 2007 23:21:06 -0000	1.4
+++ PEAR_Command_Channels/setup.php.inc	23 May 2007 19:29:43 -0000
@@ -1,4 +1,5 @@
 <?php
+set_include_path(get_include_path().':'.getcwd()); // allows chdir
 
 $server = 'pear.Chiara';
 //$server = 'test.pear.php.net';
@@ -85,4 +86,4 @@
     }
 }
 $command = &new test_PEAR_Command_Channels($fakelog, $config);
-?>
\ No newline at end of file
+?>
Index: PEAR_Command_Config/setup.php.inc
===================================================================
RCS file: /repository/pear-core/tests/PEAR_Command_Config/setup.php.inc,v
retrieving revision 1.4
diff -u -r1.4 setup.php.inc
--- PEAR_Command_Config/setup.php.inc	3 Feb 2006 05:03:02 -0000	1.4
+++ PEAR_Command_Config/setup.php.inc	23 May 2007 19:29:43 -0000
@@ -1,4 +1,5 @@
 <?php
+set_include_path(get_include_path().':'.getcwd()); // allows chdir
 
 $server = 'pear.Chiara';
 //$server = 'test.pear.php.net';
@@ -88,4 +89,4 @@
 }
 require_once 'PEAR/Command/Config.php';
 $command = &new PEAR_Command_Config($fakelog, $config);
-?>
\ No newline at end of file
+?>
Index: PEAR_Command_Install/setup.php.inc
===================================================================
RCS file: /repository/pear-core/tests/PEAR_Command_Install/setup.php.inc,v
retrieving revision 1.8
diff -u -r1.8 setup.php.inc
--- PEAR_Command_Install/setup.php.inc	27 Mar 2007 05:24:33 -0000	1.8
+++ PEAR_Command_Install/setup.php.inc	23 May 2007 19:29:43 -0000
@@ -1,4 +1,5 @@
 <?php
+set_include_path(get_include_path().':'.getcwd()); // allows chdir
 
 $server = 'pear.Chiara';
 //$server = 'test.pear.php.net';
Index: PEAR_Command_Mirror/setup.php.inc
===================================================================
RCS file: /repository/pear-core/tests/PEAR_Command_Mirror/setup.php.inc,v
retrieving revision 1.5
diff -u -r1.5 setup.php.inc
--- PEAR_Command_Mirror/setup.php.inc	3 Feb 2006 04:59:52 -0000	1.5
+++ PEAR_Command_Mirror/setup.php.inc	23 May 2007 19:29:46 -0000
@@ -1,4 +1,5 @@
 <?php
+set_include_path(get_include_path().':'.getcwd()); // allows chdir
 
 $server = 'pear.Chiara';
 //$server = 'test.pear.php.net';
@@ -97,4 +98,4 @@
     }
 }
 $command = &new test_PEAR_Command_Mirror($fakelog, $config);
-?>
\ No newline at end of file
+?>
Index: PEAR_Command_Package/setup.php.inc
===================================================================
RCS file: /repository/pear-core/tests/PEAR_Command_Package/setup.php.inc,v
retrieving revision 1.3
diff -u -r1.3 setup.php.inc
--- PEAR_Command_Package/setup.php.inc	3 Feb 2006 04:59:03 -0000	1.3
+++ PEAR_Command_Package/setup.php.inc	23 May 2007 19:29:46 -0000
@@ -1,4 +1,5 @@
 <?php
+set_include_path(get_include_path().':'.getcwd()); // allows chdir
 
 $server = 'pear.Chiara';
 //$server = 'test.pear.php.net';
@@ -98,4 +99,4 @@
     }
 }
 $command = &new test_PEAR_Command_Package($fakelog, $config);
-?>
\ No newline at end of file
+?>
Index: PEAR_Command_Pickle/setup.php.inc
===================================================================
RCS file: /repository/pear-core/tests/PEAR_Command_Pickle/setup.php.inc,v
retrieving revision 1.2
diff -u -r1.2 setup.php.inc
--- PEAR_Command_Pickle/setup.php.inc	3 Feb 2006 04:55:10 -0000	1.2
+++ PEAR_Command_Pickle/setup.php.inc	23 May 2007 19:29:47 -0000
@@ -1,4 +1,5 @@
 <?php
+set_include_path(get_include_path().':'.getcwd()); // allows chdir
 
 $server = 'pear.Chiara';
 //$server = 'test.pear.php.net';
@@ -123,4 +124,4 @@
     }
 }
 $command = &new test_PEAR_Command_Pickle($fakelog, $config);
-?>
\ No newline at end of file
+?>
Index: PEAR_Command_Remote/setup.php.inc
===================================================================
RCS file: /repository/pear-core/tests/PEAR_Command_Remote/setup.php.inc,v
retrieving revision 1.7
diff -u -r1.7 setup.php.inc
--- PEAR_Command_Remote/setup.php.inc	23 Mar 2006 04:21:46 -0000	1.7
+++ PEAR_Command_Remote/setup.php.inc	23 May 2007 19:29:48 -0000
@@ -1,4 +1,5 @@
 <?php
+set_include_path(get_include_path().':'.getcwd()); // allows chdir
 
 $server = 'pear.Chiara';
 //$server = 'test.pear.php.net';
@@ -101,4 +102,4 @@
 }
 test_PEAR_Dependency2::singleton($config);
 $command = &new test_PEAR_Command_Remote($fakelog, $config);
-?>
\ No newline at end of file
+?>
Index: PEAR_Common/setup.php.inc
===================================================================
RCS file: /repository/pear-core/tests/PEAR_Common/setup.php.inc,v
retrieving revision 1.6
diff -u -r1.6 setup.php.inc
--- PEAR_Common/setup.php.inc	3 Feb 2006 04:46:00 -0000	1.6
+++ PEAR_Common/setup.php.inc	23 May 2007 19:29:55 -0000
@@ -1,5 +1,6 @@
 <?php
 require_once 'PEAR/Common.php';
+set_include_path(get_include_path().':'.getcwd()); // allows chdir
 $statedir = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'testinstallertemp';
 
 require_once dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'download_test_classes.php.inc';
@@ -68,4 +69,4 @@
 $fakelog = new fake_log;
 
 $common = &new PEAR_Common;
-?>
\ No newline at end of file
+?>
Index: PEAR_Dependency2/setup.php.inc
===================================================================
RCS file: /repository/pear-core/tests/PEAR_Dependency2/setup.php.inc,v
retrieving revision 1.11
diff -u -r1.11 setup.php.inc
--- PEAR_Dependency2/setup.php.inc	24 Sep 2006 04:53:18 -0000	1.11
+++ PEAR_Dependency2/setup.php.inc	23 May 2007 19:29:55 -0000
@@ -1,4 +1,5 @@
 <?php
+set_include_path(get_include_path().':'.getcwd()); // allows chdir
 
 $server = 'pear.Chiara';
 //$server = 'test.pear.php.net';
@@ -86,4 +87,4 @@
     $p = &new test_PEAR_Downloader_Package($downloader);
     return $p;
 }
-?>
\ No newline at end of file
+?>
Index: PEAR_DependencyDB/setup.php.inc
===================================================================
RCS file: /repository/pear-core/tests/PEAR_DependencyDB/setup.php.inc,v
retrieving revision 1.4
diff -u -r1.4 setup.php.inc
--- PEAR_DependencyDB/setup.php.inc	3 Feb 2006 04:39:07 -0000	1.4
+++ PEAR_DependencyDB/setup.php.inc	23 May 2007 19:29:55 -0000
@@ -2,6 +2,7 @@
 error_reporting(E_ALL);
 require_once "PEAR/DependencyDB.php";
 require_once dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'phpt_test.php.inc';
+set_include_path(get_include_path().':'.getcwd()); // allows chdir
 
 // ------------------------------------------------------------------------- //
 
@@ -136,4 +137,4 @@
 $config = &PEAR_Config::singleton($statedir . DIRECTORY_SEPARATOR . 'pear.ini');
 
 $phpunit = &new PEAR_PHPTest(true);
-?>
\ No newline at end of file
+?>
Index: PEAR_Downloader/setup.php.inc
===================================================================
RCS file: /repository/pear-core/tests/PEAR_Downloader/setup.php.inc,v
retrieving revision 1.10
diff -u -r1.10 setup.php.inc
--- PEAR_Downloader/setup.php.inc	24 Sep 2006 04:45:55 -0000	1.10
+++ PEAR_Downloader/setup.php.inc	23 May 2007 19:29:55 -0000
@@ -1,4 +1,5 @@
 <?php
+set_include_path(get_include_path().':'.getcwd()); // allows chdir
 
 $server = 'pear.Chiara';
 //$server = 'test.pear.php.net';
@@ -81,4 +82,4 @@
     $downloader = &new test_PEAR_Downloader($fakelog, $options, $config);
     return $downloader;
 }
-?>
\ No newline at end of file
+?>
Index: PEAR_Downloader/analyzeDependencies/setup.php.inc
===================================================================
RCS file: /repository/pear-core/tests/PEAR_Downloader/analyzeDependencies/setup.php.inc,v
retrieving revision 1.4
diff -u -r1.4 setup.php.inc
--- PEAR_Downloader/analyzeDependencies/setup.php.inc	24 Sep 2006 04:45:55 -0000	1.4
+++ PEAR_Downloader/analyzeDependencies/setup.php.inc	23 May 2007 19:29:55 -0000
@@ -1,4 +1,5 @@
 <?php
+set_include_path(get_include_path().':'.getcwd()); // allows chdir
 
 
 require_once dirname(dirname(dirname(__FILE__))) . '/download_test_classes.php.inc';$server = 'pear.Chiara';
@@ -92,4 +93,4 @@
     $p = &new PEAR_Downloader_Package($downloader);
     return $p;
 }
-?>
\ No newline at end of file
+?>
Index: PEAR_Downloader_Package/setup.php.inc
===================================================================
RCS file: /repository/pear-core/tests/PEAR_Downloader_Package/setup.php.inc,v
retrieving revision 1.11
diff -u -r1.11 setup.php.inc
--- PEAR_Downloader_Package/setup.php.inc	24 Sep 2006 04:23:38 -0000	1.11
+++ PEAR_Downloader_Package/setup.php.inc	23 May 2007 19:29:55 -0000
@@ -1,4 +1,5 @@
 <?php
+set_include_path(get_include_path().':'.getcwd()); // allows chdir
 
 $server = 'pear.Chiara';
 //$server = 'test.pear.php.net';
@@ -87,4 +88,4 @@
     $p = &new test_PEAR_Downloader_Package($downloader);
     return $p;
 }
-?>
\ No newline at end of file
+?>
Index: PEAR_ErrorStack/setup.php.inc
===================================================================
RCS file: /repository/pear-core/tests/PEAR_ErrorStack/setup.php.inc,v
retrieving revision 1.1
diff -u -r1.1 setup.php.inc
--- PEAR_ErrorStack/setup.php.inc	1 Jan 2005 19:50:23 -0000	1.1
+++ PEAR_ErrorStack/setup.php.inc	23 May 2007 19:29:55 -0000
@@ -1,5 +1,6 @@
 <?php
 require_once 'PEAR/ErrorStack.php';
+set_include_path(get_include_path().':'.getcwd()); // allows chdir
 require_once dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'phpt_test.php.inc';
 $phpunit = new PEAR_PHPTest(true, true);
-?>
\ No newline at end of file
+?>
Index: PEAR_ErrorStack/getErrorMessage/setup.php.inc
===================================================================
RCS file: /repository/pear-core/tests/PEAR_ErrorStack/getErrorMessage/setup.php.inc,v
retrieving revision 1.1
diff -u -r1.1 setup.php.inc
--- PEAR_ErrorStack/getErrorMessage/setup.php.inc	1 Jan 2005 20:06:32 -0000	1.1
+++ PEAR_ErrorStack/getErrorMessage/setup.php.inc	23 May 2007 19:29:55 -0000
@@ -1,5 +1,6 @@
 <?php
 require_once 'PEAR/ErrorStack.php';
+set_include_path(get_include_path().':'.getcwd()); // allows chdir
 require_once dirname(dirname(dirname(__FILE__))) . DIRECTORY_SEPARATOR . 'phpt_test.php.inc';
 $phpunit = new PEAR_PHPTest(true);
 $stack = &PEAR_ErrorStack::singleton('test');
@@ -11,4 +12,4 @@
     }
 }
 class testgemessage1 {} 
-?>
\ No newline at end of file
+?>
Index: PEAR_ErrorStack/getErrorMessageTemplate/setup.php.inc
===================================================================
RCS file: /repository/pear-core/tests/PEAR_ErrorStack/getErrorMessageTemplate/setup.php.inc,v
retrieving revision 1.1
diff -u -r1.1 setup.php.inc
--- PEAR_ErrorStack/getErrorMessageTemplate/setup.php.inc	1 Jan 2005 20:10:18 -0000	1.1
+++ PEAR_ErrorStack/getErrorMessageTemplate/setup.php.inc	23 May 2007 19:29:55 -0000
@@ -1,6 +1,7 @@
 <?php
 require_once 'PEAR/ErrorStack.php';
+set_include_path(get_include_path().':'.getcwd()); // allows chdir
 require_once dirname(dirname(dirname(__FILE__))) . DIRECTORY_SEPARATOR . 'phpt_test.php.inc';
 $phpunit = new PEAR_PHPTest(true);
 $stack = &PEAR_ErrorStack::singleton('test');
-?>
\ No newline at end of file
+?>
Index: PEAR_ErrorStack/getErrors/setup.php.inc
===================================================================
RCS file: /repository/pear-core/tests/PEAR_ErrorStack/getErrors/setup.php.inc,v
retrieving revision 1.1
diff -u -r1.1 setup.php.inc
--- PEAR_ErrorStack/getErrors/setup.php.inc	1 Jan 2005 20:14:06 -0000	1.1
+++ PEAR_ErrorStack/getErrors/setup.php.inc	23 May 2007 19:29:55 -0000
@@ -1,6 +1,7 @@
 <?php
 require_once 'PEAR/ErrorStack.php';
+set_include_path(get_include_path().':'.getcwd()); // allows chdir
 require_once dirname(dirname(dirname(__FILE__))) . DIRECTORY_SEPARATOR . 'phpt_test.php.inc';
 $phpunit = new PEAR_PHPTest(true, true);
 $stack = &PEAR_ErrorStack::singleton('test');
-?>
\ No newline at end of file
+?>
Index: PEAR_ErrorStack/pushpop/setup.php.inc
===================================================================
RCS file: /repository/pear-core/tests/PEAR_ErrorStack/pushpop/setup.php.inc,v
retrieving revision 1.1
diff -u -r1.1 setup.php.inc
--- PEAR_ErrorStack/pushpop/setup.php.inc	1 Jan 2005 20:34:31 -0000	1.1
+++ PEAR_ErrorStack/pushpop/setup.php.inc	23 May 2007 19:29:55 -0000
@@ -1,6 +1,7 @@
 <?php
 require_once 'PEAR/ErrorStack.php';
+set_include_path(get_include_path().':'.getcwd()); // allows chdir
 require_once dirname(dirname(dirname(__FILE__))) . DIRECTORY_SEPARATOR . 'phpt_test.php.inc';
 $phpunit = new PEAR_PHPTest(true, true);
 $stack = &PEAR_ErrorStack::singleton('test');
-?>
\ No newline at end of file
+?>
Index: PEAR_ErrorStack/pushpopcallback/setup.php.inc
===================================================================
RCS file: /repository/pear-core/tests/PEAR_ErrorStack/pushpopcallback/setup.php.inc,v
retrieving revision 1.2
diff -u -r1.2 setup.php.inc
--- PEAR_ErrorStack/pushpopcallback/setup.php.inc	1 Jan 2005 21:36:46 -0000	1.2
+++ PEAR_ErrorStack/pushpopcallback/setup.php.inc	23 May 2007 19:29:55 -0000
@@ -1,5 +1,6 @@
 <?php
 require_once 'PEAR/ErrorStack.php';
+set_include_path(get_include_path().':'.getcwd()); // allows chdir
 require_once dirname(dirname(dirname(__FILE__))) . DIRECTORY_SEPARATOR . 'phpt_test.php.inc';
 $phpunit = new PEAR_PHPTest(true, true);
 $stack = &PEAR_ErrorStack::singleton('test');
@@ -13,4 +14,4 @@
         $this->info = array($err);
     }
 }
-?>
\ No newline at end of file
+?>
Index: PEAR_ErrorStack/staticGetErrors/setup.php.inc
===================================================================
RCS file: /repository/pear-core/tests/PEAR_ErrorStack/staticGetErrors/setup.php.inc,v
retrieving revision 1.1
diff -u -r1.1 setup.php.inc
--- PEAR_ErrorStack/staticGetErrors/setup.php.inc	1 Jan 2005 21:15:05 -0000	1.1
+++ PEAR_ErrorStack/staticGetErrors/setup.php.inc	23 May 2007 19:29:56 -0000
@@ -1,5 +1,6 @@
 <?php
 require_once 'PEAR/ErrorStack.php';
+set_include_path(get_include_path().':'.getcwd()); // allows chdir
 require_once dirname(dirname(dirname(__FILE__))) . DIRECTORY_SEPARATOR . 'phpt_test.php.inc';
 $phpunit = new PEAR_PHPTest(true, true);
-?>
\ No newline at end of file
+?>
Index: PEAR_ErrorStack/staticHasErrors/setup.php.inc
===================================================================
RCS file: /repository/pear-core/tests/PEAR_ErrorStack/staticHasErrors/setup.php.inc,v
retrieving revision 1.1
diff -u -r1.1 setup.php.inc
--- PEAR_ErrorStack/staticHasErrors/setup.php.inc	21 Sep 2006 04:55:23 -0000	1.1
+++ PEAR_ErrorStack/staticHasErrors/setup.php.inc	23 May 2007 19:29:56 -0000
@@ -1,5 +1,6 @@
 <?php
 require_once 'PEAR/ErrorStack.php';
+set_include_path(get_include_path().':'.getcwd()); // allows chdir
 require_once dirname(dirname(dirname(__FILE__))) . DIRECTORY_SEPARATOR . 'phpt_test.php.inc';
 $phpunit = new PEAR_PHPTest(true, true);
-?>
\ No newline at end of file
+?>
Index: PEAR_Installer/setup.php.inc
===================================================================
RCS file: /repository/pear-core/tests/PEAR_Installer/setup.php.inc,v
retrieving revision 1.10
diff -u -r1.10 setup.php.inc
--- PEAR_Installer/setup.php.inc	24 Sep 2006 04:03:07 -0000	1.10
+++ PEAR_Installer/setup.php.inc	23 May 2007 19:29:56 -0000
@@ -1,4 +1,5 @@
 <?php
+set_include_path(get_include_path().':'.getcwd()); // allows chdir
 
 $server = 'pear.Chiara';
 //$server = 'test.pear.php.net';
@@ -84,4 +85,4 @@
 }
 
 $installer = &new test_PEAR_Installer($fakelog);
-?>
\ No newline at end of file
+?>
Index: PEAR_Installer_Role/setup.php.inc
===================================================================
RCS file: /repository/pear-core/tests/PEAR_Installer_Role/setup.php.inc,v
retrieving revision 1.2
diff -u -r1.2 setup.php.inc
--- PEAR_Installer_Role/setup.php.inc	3 Feb 2006 04:27:34 -0000	1.2
+++ PEAR_Installer_Role/setup.php.inc	23 May 2007 19:29:57 -0000
@@ -1,4 +1,5 @@
 <?php
+set_include_path(get_include_path().':'.getcwd()); // allows chdir
 
 $server = 'pear.Chiara';
 //$server = 'test.pear.php.net';
@@ -82,4 +83,4 @@
     $p = &new PEAR_Downloader_Package($downloader);
     return $p;
 }
-?>
\ No newline at end of file
+?>
Index: PEAR_Installer_Role_Common/setup.php.inc
===================================================================
RCS file: /repository/pear-core/tests/PEAR_Installer_Role_Common/setup.php.inc,v
retrieving revision 1.2
diff -u -r1.2 setup.php.inc
--- PEAR_Installer_Role_Common/setup.php.inc	3 Feb 2006 04:26:29 -0000	1.2
+++ PEAR_Installer_Role_Common/setup.php.inc	23 May 2007 19:29:57 -0000
@@ -1,4 +1,5 @@
 <?php
+set_include_path(get_include_path().':'.getcwd()); // allows chdir
 
 $server = 'pear.Chiara';
 //$server = 'test.pear.php.net';
@@ -82,4 +83,4 @@
     $p = &new PEAR_Downloader_Package($downloader);
     return $p;
 }
-?>
\ No newline at end of file
+?>
Index: PEAR_PackageFile/v1/setup.php.inc
===================================================================
RCS file: /repository/pear-core/tests/PEAR_PackageFile/v1/setup.php.inc,v
retrieving revision 1.5
diff -u -r1.5 setup.php.inc
--- PEAR_PackageFile/v1/setup.php.inc	6 Feb 2006 00:36:27 -0000	1.5
+++ PEAR_PackageFile/v1/setup.php.inc	23 May 2007 19:29:57 -0000
@@ -1,6 +1,7 @@
 <?php
 require_once 'PEAR/PackageFile/Parser/v1.php';
 require_once 'PEAR/Config.php';
+set_include_path(get_include_path().':'.getcwd()); // allows chdir
 
 require_once dirname(dirname(dirname(__FILE__))) . DIRECTORY_SEPARATOR . 'download_test_classes.php.inc';
 
@@ -23,4 +24,4 @@
 $phpunit = &new PEAR_PHPTest(true);
 $fakelog = new fake_log;
 $parser->setLogger($fakelog);
-?>
\ No newline at end of file
+?>
Index: PEAR_PackageFile/v1/Parser/setup.php.inc
===================================================================
RCS file: /repository/pear-core/tests/PEAR_PackageFile/v1/Parser/setup.php.inc,v
retrieving revision 1.2
diff -u -r1.2 setup.php.inc
--- PEAR_PackageFile/v1/Parser/setup.php.inc	17 Nov 2004 04:55:15 -0000	1.2
+++ PEAR_PackageFile/v1/Parser/setup.php.inc	23 May 2007 19:29:57 -0000
@@ -1,6 +1,7 @@
 <?php
 require_once 'PEAR/PackageFile/Parser/v1.php';
 require_once 'PEAR/Config.php';
+set_include_path(get_include_path().':'.getcwd()); // allows chdir
 
 require_once dirname(dirname(dirname(dirname(__FILE__)))) . DIRECTORY_SEPARATOR . 'download_test_classes.php.inc';
 
@@ -24,4 +25,4 @@
 $phpunit = &new PEAR_PHPTest(true);
 $fakelog = new fake_log;
 $parser->setLogger($fakelog);
-?>
\ No newline at end of file
+?>
Index: PEAR_PackageFile/v2/setup.php.inc
===================================================================
RCS file: /repository/pear-core/tests/PEAR_PackageFile/v2/setup.php.inc,v
retrieving revision 1.7
diff -u -r1.7 setup.php.inc
--- PEAR_PackageFile/v2/setup.php.inc	3 Feb 2006 04:21:41 -0000	1.7
+++ PEAR_PackageFile/v2/setup.php.inc	23 May 2007 19:29:58 -0000
@@ -2,6 +2,7 @@
 require_once 'PEAR/PackageFile/Parser/v2.php';
 require_once 'PEAR/PackageFile/v2.php';
 require_once 'PEAR/Config.php';
+set_include_path(get_include_path().':'.getcwd()); // allows chdir
 
 require_once dirname(dirname(dirname(__FILE__))) . DIRECTORY_SEPARATOR . 'download_test_classes.php.inc';
 
@@ -78,4 +79,4 @@
     $p = &new test_PEAR_Downloader_Package($downloader);
     return $p;
 }
-?>
\ No newline at end of file
+?>
Index: PEAR_PackageFile_Generator_v1/setup.php.inc
===================================================================
RCS file: /repository/pear-core/tests/PEAR_PackageFile_Generator_v1/setup.php.inc,v
retrieving revision 1.2
diff -u -r1.2 setup.php.inc
--- PEAR_PackageFile_Generator_v1/setup.php.inc	28 Nov 2004 06:52:08 -0000	1.2
+++ PEAR_PackageFile_Generator_v1/setup.php.inc	23 May 2007 19:29:58 -0000
@@ -2,6 +2,7 @@
 require_once 'PEAR/PackageFile/Generator/v1.php';
 require_once 'PEAR/PackageFile/Parser/v1.php';
 require_once 'PEAR/PackageFile/v1.php';
+set_include_path(get_include_path().':'.getcwd()); // allows chdir
 
 require_once dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'download_test_classes.php.inc';
 
@@ -24,4 +25,4 @@
 $phpunit = &new PEAR_PHPTest(true);
 $fakelog = new fake_log;
 $parser->setLogger($fakelog);
-?>
\ No newline at end of file
+?>
Index: PEAR_PackageFile_Generator_v2/setup.php.inc
===================================================================
RCS file: /repository/pear-core/tests/PEAR_PackageFile_Generator_v2/setup.php.inc,v
retrieving revision 1.2
diff -u -r1.2 setup.php.inc
--- PEAR_PackageFile_Generator_v2/setup.php.inc	3 Feb 2006 04:08:33 -0000	1.2
+++ PEAR_PackageFile_Generator_v2/setup.php.inc	23 May 2007 19:29:58 -0000
@@ -2,6 +2,7 @@
 require_once 'PEAR/PackageFile/Generator/v2.php';
 require_once 'PEAR/PackageFile/Parser/v2.php';
 require_once 'PEAR/PackageFile/v2.php';
+set_include_path(get_include_path().':'.getcwd()); // allows chdir
 
 require_once dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'download_test_classes.php.inc';
 
@@ -23,4 +24,4 @@
 $phpunit = &new PEAR_PHPTest(true);
 $fakelog = new fake_log;
 $parser->setLogger($fakelog);
-?>
\ No newline at end of file
+?>
Index: PEAR_PackageFile_v2_Validator/setup.php.inc
===================================================================
RCS file: /repository/pear-core/tests/PEAR_PackageFile_v2_Validator/setup.php.inc,v
retrieving revision 1.2
diff -u -r1.2 setup.php.inc
--- PEAR_PackageFile_v2_Validator/setup.php.inc	3 Feb 2006 04:05:53 -0000	1.2
+++ PEAR_PackageFile_v2_Validator/setup.php.inc	23 May 2007 19:29:59 -0000
@@ -2,6 +2,7 @@
 require_once 'PEAR/PackageFile/Parser/v2.php';
 require_once 'PEAR/PackageFile/v2.php';
 require_once 'PEAR/Config.php';
+set_include_path(get_include_path().':'.getcwd()); // allows chdir
 
 require_once dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'download_test_classes.php.inc';
 
@@ -78,4 +79,4 @@
     $p = &new test_PEAR_Downloader_Package($downloader);
     return $p;
 }
-?>
\ No newline at end of file
+?>
Index: PEAR_Packager/setup.php.inc
===================================================================
RCS file: /repository/pear-core/tests/PEAR_Packager/setup.php.inc,v
retrieving revision 1.2
diff -u -r1.2 setup.php.inc
--- PEAR_Packager/setup.php.inc	3 Feb 2006 04:02:39 -0000	1.2
+++ PEAR_Packager/setup.php.inc	23 May 2007 19:29:59 -0000
@@ -1,5 +1,6 @@
 <?php
 require_once 'PEAR/Packager.php';
+set_include_path(get_include_path().':'.getcwd()); // allows chdir
 
 require_once dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'download_test_classes.php.inc';
 
@@ -67,4 +68,4 @@
 $phpunit = &new PEAR_PHPTest(true);
 $fakelog = new fake_log;
 $packager->ui = &$fakelog; // fake PEAR_Common::log() out
-?>
\ No newline at end of file
+?>
Index: PEAR_Packager/test_fail_multiple.phpt
===================================================================
RCS file: /repository/pear-core/tests/PEAR_Packager/test_fail_multiple.phpt,v
retrieving revision 1.6
diff -u -r1.6 test_fail_multiple.phpt
--- PEAR_Packager/test_fail_multiple.phpt	18 Sep 2006 16:41:52 -0000	1.6
+++ PEAR_Packager/test_fail_multiple.phpt	23 May 2007 19:29:59 -0000
@@ -99,6 +99,7 @@
     1 => true,
   ),
 ), $fakelog->getLog(), 'invalid v1 log');
+
 $savedir = getcwd();
 chdir($temp_path);
 // test double v1
Index: PEAR_Registry/api1_0/setup.php.inc
===================================================================
RCS file: /repository/pear-core/tests/PEAR_Registry/api1_0/setup.php.inc,v
retrieving revision 1.7
diff -u -r1.7 setup.php.inc
--- PEAR_Registry/api1_0/setup.php.inc	3 Feb 2006 04:01:12 -0000	1.7
+++ PEAR_Registry/api1_0/setup.php.inc	23 May 2007 19:29:59 -0000
@@ -3,6 +3,7 @@
 include_once dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'pear_registry_inc.php.inc';
 include_once "PEAR/Registry.php";
 require_once dirname(dirname(dirname(__FILE__))) . DIRECTORY_SEPARATOR . 'phpt_test.php.inc';
+set_include_path(get_include_path().':'.getcwd()); // allows chdir
 
 // ------------------------------------------------------------------------- //
 
@@ -71,4 +72,4 @@
 touch($statedir . DIRECTORY_SEPARATOR . 'pear.ini');
 $reg = &new PEAR_Registry($statedir);
 $phpunit = &new PEAR_PHPTest(true);
-?>
\ No newline at end of file
+?>
Index: PEAR_Registry/api1_1/setup.php.inc
===================================================================
RCS file: /repository/pear-core/tests/PEAR_Registry/api1_1/setup.php.inc,v
retrieving revision 1.6
diff -u -r1.6 setup.php.inc
--- PEAR_Registry/api1_1/setup.php.inc	3 Feb 2006 04:00:04 -0000	1.6
+++ PEAR_Registry/api1_1/setup.php.inc	23 May 2007 19:30:00 -0000
@@ -6,6 +6,7 @@
 include_once "PEAR/PackageFile/v1.php";
 require_once dirname(dirname(dirname(__FILE__))) . DIRECTORY_SEPARATOR . 'phpt_test.php.inc';
 require_once dirname(dirname(dirname(__FILE__))) . DIRECTORY_SEPARATOR . 'download_test_classes.php.inc';
+set_include_path(get_include_path().':'.getcwd()); // allows chdir
 
 // ------------------------------------------------------------------------- //
 
@@ -122,4 +123,4 @@
 $config = &PEAR_Config::singleton($statedir . DIRECTORY_SEPARATOR . 'pear.ini');
 $reg = &$config->getRegistry();
 $fakelog = new fake_log;
-?>
\ No newline at end of file
+?>
Index: PEAR_RunTest/setup.php.inc
===================================================================
RCS file: /repository/pear-core/tests/PEAR_RunTest/setup.php.inc,v
retrieving revision 1.1
diff -u -r1.1 setup.php.inc
--- PEAR_RunTest/setup.php.inc	14 Feb 2007 06:09:17 -0000	1.1
+++ PEAR_RunTest/setup.php.inc	23 May 2007 19:30:00 -0000
@@ -1,5 +1,6 @@
 <?php
 require_once 'PEAR/RunTest.php';
+set_include_path(get_include_path().':'.getcwd()); // allows chdir
 require_once dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'phpt_test.php.inc';
 require_once dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'download_test_classes.php.inc';
 
@@ -9,4 +10,4 @@
 mkdir($statedir);
 
 $phpunit = &new PEAR_PHPTest(true);
-$tester = &new PEAR_RunTest($fakelog);
\ No newline at end of file
+$tester = &new PEAR_RunTest($fakelog);
Index: PEAR_Validate/setup.php.inc
===================================================================
RCS file: /repository/pear-core/tests/PEAR_Validate/setup.php.inc,v
retrieving revision 1.6
diff -u -r1.6 setup.php.inc
--- PEAR_Validate/setup.php.inc	3 Feb 2006 03:56:12 -0000	1.6
+++ PEAR_Validate/setup.php.inc	23 May 2007 19:30:00 -0000
@@ -1,4 +1,5 @@
 <?php
+set_include_path(get_include_path().':'.getcwd()); // allows chdir
 
 $server = 'pear.Chiara';
 //$server = 'test.pear.php.net';
@@ -89,4 +90,4 @@
 $v1parser->setConfig($config);
 $v2parser->setConfig($config);
 $val = new PEAR_Validate;
-?>
\ No newline at end of file
+?>
