Annotation of embedaddon/php/ext/phar/tests/zip/zlib.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: Phar: process zlib-compressed zip alias
! 3: --SKIPIF--
! 4: <?php if (!extension_loaded("phar")) die("skip"); ?>
! 5: <?php if (!extension_loaded("spl")) die("skip SPL not available"); ?>
! 6: <?php if (!extension_loaded("zlib")) die("skip zlib not available"); ?>
! 7: --FILE--
! 8: <?php
! 9: try {
! 10: $a = new Phar(dirname(__FILE__) . '/files/zlib_alias.phar.zip');
! 11: var_dump($a->getAlias());
! 12: } catch (Exception $e) {
! 13: echo $e->getMessage() . "\n";
! 14: }
! 15: ?>
! 16: ===DONE===
! 17: --EXPECT--
! 18: string(175) "hitheresuperlongzipistoostupidtodowhatIsaysoIhavetousethisridiculouslylongaliasbecauseitisstupiddidImentionthatalreadythemadnessdoesnotstopIhateinfozipIhateinfozipIhateinfozip"
! 19: ===DONE===
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>