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

1.1     ! misho       1: --TEST--
        !             2: Phar: require hash
        !             3: --SKIPIF--
        !             4: <?php if (!extension_loaded("phar")) die("skip"); ?>
        !             5: --INI--
        !             6: phar.require_hash=1
        !             7: --FILE--
        !             8: <?php
        !             9: 
        !            10: $pharconfig = 0;
        !            11: 
        !            12: require_once 'files/phar_oo_test.inc';
        !            13: 
        !            14: try {
        !            15: Phar::loadPhar($fname);
        !            16: } catch (Exception $e) {
        !            17: echo $e->getMessage();
        !            18: }
        !            19: 
        !            20: ?>
        !            21: ===DONE===
        !            22: --CLEAN--
        !            23: <?php 
        !            24: unlink(dirname(__FILE__) . '/files/phar_oo_test.phar.php');
        !            25: __halt_compiler();
        !            26: ?>
        !            27: --EXPECTF--
        !            28: 
        !            29: phar "%sphar_oo_test.phar.php" does not have a signature===DONE===

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