1
0
mirror of https://github.com/php/php-src.git synced 2026-03-30 04:02:19 +02:00

remove test accidentally added

This commit is contained in:
Greg Beaver
2008-02-08 05:08:18 +00:00
parent fa7a1779a1
commit 4e42110f3e

View File

@@ -1,34 +0,0 @@
--TEST--
test broken app
--INI--
phar.readonly=0
--FILE--
<?php
$file = "zfapp";
$tgz_file = dirname(__FILE__) . "/$file.tgz";
chdir(dirname(__FILE__));
$phar_file = basename(__FILE__, '.php') . '.phar.php';
@unlink($phar_file);
copy($tgz_file, $phar_file);
$a = new Phar($phar_file);
$a->startBuffering();
$a->setStub("<?php
Phar::interceptFileFuncs();
Phar::webPhar('$file.phar', 'html/index.php');
echo 'BlogApp is intended to be executed from a web browser\n';
exit -1;
__HALT_COMPILER();
");
$a->stopBuffering();
foreach(new RecursiveIteratorIterator($a, RecursiveIteratorIterator::LEAVES_ONLY) as $f) {
echo $f->getPathName() . "\n";
}
?>
===DONE===
--CLEAN--
<?php
unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.php');
__HALT_COMPILER();
?>
--EXPECT--
===DONE===