Annotation of embedaddon/php/ext/phar/tests/006.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: Phar::mapPhar truncated manifest (manifest length truncated)
        !             3: --SKIPIF--
        !             4: <?php if (!extension_loaded("phar")) die("skip");?>
        !             5: --FILE--
        !             6: <?php
        !             7: try {
        !             8: Phar::mapPhar('hio');
        !             9: } catch (Exception $e) {
        !            10: echo $e->getMessage();
        !            11: }
        !            12: __HALT_COMPILER(); ?>
        !            13: --EXPECTF--
        !            14: internal corruption of phar "%s" (truncated manifest at manifest length)

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>