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

1.1     ! misho       1: --TEST--
        !             2: Phar: tar with relative link to subdirectory file from subdirectory file
        !             3: --SKIPIF--
        !             4: <?php if (!extension_loaded("phar")) die("skip"); ?>
        !             5: --INI--
        !             6: phar.require_hash=0
        !             7: --FILE--
        !             8: <?php
        !             9: try {
        !            10:        $p = new PharData(dirname(__FILE__) . '/files/subdirlink.tar');
        !            11: } catch (Exception $e) {
        !            12:        echo $e->getMessage() . "\n";
        !            13: }
        !            14: echo $p['hi/test.txt']->getContent();
        !            15: echo $p['hi/link.txt']->getContent();
        !            16: ?>
        !            17: ===DONE===
        !            18: --EXPECT--
        !            19: hi
        !            20: hi
        !            21: ===DONE===

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