cataphract                               Wed, 31 Aug 2011 06:23:24 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=315849

Log:
- Fixed tests when run from outside their directory.

Changed paths:
    U   
php/php-src/branches/PHP_5_4/ext/libxml/tests/libxml_set_external_entity_loader_variation1.phpt
    U   
php/php-src/branches/PHP_5_4/ext/libxml/tests/libxml_set_external_entity_loader_variation2.phpt
    U   
php/php-src/trunk/ext/libxml/tests/libxml_set_external_entity_loader_variation1.phpt
    U   
php/php-src/trunk/ext/libxml/tests/libxml_set_external_entity_loader_variation2.phpt

Modified: 
php/php-src/branches/PHP_5_4/ext/libxml/tests/libxml_set_external_entity_loader_variation1.phpt
===================================================================
--- 
php/php-src/branches/PHP_5_4/ext/libxml/tests/libxml_set_external_entity_loader_variation1.phpt
     2011-08-31 06:00:57 UTC (rev 315848)
+++ 
php/php-src/branches/PHP_5_4/ext/libxml/tests/libxml_set_external_entity_loader_variation1.phpt
     2011-08-31 06:23:24 UTC (rev 315849)
@@ -4,6 +4,7 @@
 <?php if (!extension_loaded('dom')) die('skip'); ?>
 --FILE--
 <?php
+chdir(__DIR__);
 $xml = <<<XML
 <!DOCTYPE foo PUBLIC "-//FOO/BAR" "http://example.com/foobar";>
 <foo>bar&fooz;</foo>

Modified: 
php/php-src/branches/PHP_5_4/ext/libxml/tests/libxml_set_external_entity_loader_variation2.phpt
===================================================================
--- 
php/php-src/branches/PHP_5_4/ext/libxml/tests/libxml_set_external_entity_loader_variation2.phpt
     2011-08-31 06:00:57 UTC (rev 315848)
+++ 
php/php-src/branches/PHP_5_4/ext/libxml/tests/libxml_set_external_entity_loader_variation2.phpt
     2011-08-31 06:23:24 UTC (rev 315849)
@@ -7,6 +7,7 @@
 @unlink(__DIR__ . "/foobar.dtd");
 --FILE--
 <?php
+chdir(__DIR__);
 $xml = <<<XML
 <!DOCTYPE foo PUBLIC "-//FOO/BAR" "foobar.dtd">
 <foo>bar</foo>

Modified: 
php/php-src/trunk/ext/libxml/tests/libxml_set_external_entity_loader_variation1.phpt
===================================================================
--- 
php/php-src/trunk/ext/libxml/tests/libxml_set_external_entity_loader_variation1.phpt
        2011-08-31 06:00:57 UTC (rev 315848)
+++ 
php/php-src/trunk/ext/libxml/tests/libxml_set_external_entity_loader_variation1.phpt
        2011-08-31 06:23:24 UTC (rev 315849)
@@ -4,6 +4,7 @@
 <?php if (!extension_loaded('dom')) die('skip'); ?>
 --FILE--
 <?php
+chdir(__DIR__);
 $xml = <<<XML
 <!DOCTYPE foo PUBLIC "-//FOO/BAR" "http://example.com/foobar";>
 <foo>bar&fooz;</foo>

Modified: 
php/php-src/trunk/ext/libxml/tests/libxml_set_external_entity_loader_variation2.phpt
===================================================================
--- 
php/php-src/trunk/ext/libxml/tests/libxml_set_external_entity_loader_variation2.phpt
        2011-08-31 06:00:57 UTC (rev 315848)
+++ 
php/php-src/trunk/ext/libxml/tests/libxml_set_external_entity_loader_variation2.phpt
        2011-08-31 06:23:24 UTC (rev 315849)
@@ -7,6 +7,7 @@
 @unlink(__DIR__ . "/foobar.dtd");
 --FILE--
 <?php
+chdir(__DIR__);
 $xml = <<<XML
 <!DOCTYPE foo PUBLIC "-//FOO/BAR" "foobar.dtd">
 <foo>bar</foo>

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to