]> granicus.if.org Git - php/commitdiff
fix test files
authorGreg Beaver <cellog@php.net>
Sun, 12 Oct 2008 06:44:01 +0000 (06:44 +0000)
committerGreg Beaver <cellog@php.net>
Sun, 12 Oct 2008 06:44:01 +0000 (06:44 +0000)
ext/phar/tests/files/include_path.phar
ext/phar/tests/files/include_path.phar.inc
ext/phar/tests/files/include_path2.phar [new file with mode: 0644]

index 50f698c2b7a96d9437bccf75ea38cd0f2ae9b1fa..89fa1f8415682ffe0e0e8c67fb54a8e01ab56f19 100644 (file)
Binary files a/ext/phar/tests/files/include_path.phar and b/ext/phar/tests/files/include_path.phar differ
index 85ef5a76630b323c94c69ec0dcdcac347a4f5f8b..448c87f61dbbe698f90cad29daa545eecefad177 100644 (file)
@@ -10,9 +10,9 @@ $phar['hello/test.php'] = '<?php
 include "file1.php";';
 
 $phar->setStub("<?php
-set_include_path('.' . PATH_SEPARATOR . 'phar://' . dirname(__FILE__) . '/include_path2.phar' );
+set_include_path('.' . PATH_SEPARATOR . 'phar://' . dirname(__FILE__) . '/files/include_path2.phar' );
 include 'phar://' . __FILE__ . '/hello/test.php';
-set_include_path('.' . PATH_SEPARATOR . 'phar://' . dirname(__FILE__) . '/include_path2.phar/test');
+set_include_path('.' . PATH_SEPARATOR . 'phar://' . dirname(__FILE__) . '/files/include_path2.phar/test');
 include 'phar://' . __FILE__ . '/hello/test.php';
 echo \"ok\\n\";
 __HALT_COMPILER();
diff --git a/ext/phar/tests/files/include_path2.phar b/ext/phar/tests/files/include_path2.phar
new file mode 100644 (file)
index 0000000..bb0ba79
Binary files /dev/null and b/ext/phar/tests/files/include_path2.phar differ