diff options
Diffstat (limited to 'ext/phar/tests/009.phpt')
-rw-r--r-- | ext/phar/tests/009.phpt | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/ext/phar/tests/009.phpt b/ext/phar/tests/009.phpt deleted file mode 100644 index 7e3acabf0e..0000000000 --- a/ext/phar/tests/009.phpt +++ /dev/null @@ -1,17 +0,0 @@ ---TEST-- -Phar::mapPhar too many manifest entries ---SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip";?> ---FILE-- -<?php -$file = "<?php -Phar::mapPhar('hio'); -__HALT_COMPILER(); ?>"; -$file .= pack('VVnV', 500, 500, 0x0800, 0) . str_repeat('A', 500); -file_put_contents(dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php', $file); -include dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php'; -?> ---CLEAN-- -<?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); ?> ---EXPECTF-- -%satal error: Phar::mapPhar(): internal corruption of phar "%s009.phar.php" (too many manifest entries for size of manifest) in %s on line %d |