Lines Matching refs:testit

17 Phar::mount("testit", dirname(Phar::running(0)) . "/testit");
18 echo file_get_contents(Phar::running(1) . "/testit/extfile.php"), "\n";
19 echo file_get_contents(Phar::running(1) . "/testit/directory"), "\n";
20 echo file_get_contents(Phar::running(1) . "/testit/existing.txt"), "\n";
21 include "testit/extfile.php";
22 include "testit/extfile2.php";
24 Phar::mount(".phar/stub.php", dirname(Phar::running(0)) . "/testit/extfile.php");
29 $a['testit/existing.txt'] = 'oops';
35 mkdir(dirname(__FILE__) . '/testit');
36 mkdir(dirname(__FILE__) . '/testit/directory');
37 file_put_contents(dirname(__FILE__) . '/testit/extfile.php', '<?php
40 file_put_contents(dirname(__FILE__) . '/testit/extfile2.php', '<?php
43 include dirname(__FILE__) . '/testit/extfile.php';
46 $a = opendir($pname . '/testit');
56 foreach (new Phar($pname . '/testit') as $b) {
64 Phar::mount($pname . '/testit', 'another\\..\\mistake');
74 Phar::mount($pname . '/testit', dirname(__FILE__));
79 Phar::mount($pname . '/testit/extfile.php', dirname(__FILE__));
88 @unlink(dirname(__FILE__) . '/testit/extfile.php');
89 @unlink(dirname(__FILE__) . '/testit/extfile2.php');
90 @rmdir(dirname(__FILE__) . '/testit/directory');
91 @rmdir(dirname(__FILE__) . '/testit');
100 …t_contents(phar://%stempmanifest1.phar.php/testit/directory): failed to open stream: phar error: p…
111 phar://%stempmanifest1.phar.php/testit%cdirectory
112 phar://%stempmanifest1.phar.php/testit%cextfile.php
113 phar://%stempmanifest1.phar.php/testit%cextfile2.php
114 Mounting of /testit to another\..\mistake within phar %stempmanifest1.phar.php failed
116 Mounting of /testit to %stests within phar %stests/tempmanifest1.phar.php failed
117 Mounting of /testit/extfile.php to %stests within phar %stests/tempmanifest1.phar.php failed