cvs: php-src /ext/phar/tests/zip corrupt_010.phpt /ext/phar/tests/zip/files disknumber.zip

From: Date: Thu, 21 Aug 2008 20:36:22 +0000
Subject: cvs: php-src /ext/phar/tests/zip corrupt_010.phpt /ext/phar/tests/zip/files disknumber.zip
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-52587@lists.php.net to get a copy of this message
cellog Thu Aug 21 20:36:22 2008 UTC Modified files: /php-src/ext/phar/tests/zip corrupt_010.phpt /php-src/ext/phar/tests/zip/files disknumber.zip Log: MFB increase code coverage http://cvs.php.net/viewvc.cgi/php-src/ext/phar/tests/zip/corrupt_010.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/phar/tests/zip/corrupt_010.phpt diff -u /dev/null php-src/ext/phar/tests/zip/corrupt_010.phpt:1.2 --- /dev/null Thu Aug 21 20:36:21 2008 +++ php-src/ext/phar/tests/zip/corrupt_010.phpt Thu Aug 21 20:36:21 2008 @@ -0,0 +1,17 @@ +--TEST-- +Phar: unable to process zip (zip spanning multiple archives) +--SKIPIF-- +<?php if (!extension_loaded("phar")) die("skip"); ?> +<?php if (!extension_loaded("spl")) die("skip SPL not available"); ?> +--FILE-- +<?php +try { + new PharData(dirname(__FILE__) . '/files/disknumber.zip'); +} catch (Exception $e) { + echo $e->getMessage() . "\n"; +} +?> +===DONE=== +--EXPECTF-- +phar error: split archives spanning multiple zips cannot be processed in zip-based phar "%sdisknumber.zip" +===DONE=== http://cvs.php.net/viewvc.cgi/php-src/ext/phar/tests/zip/files/disknumber.zip?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/phar/tests/zip/files/disknumber.zip

« previous php.cvs (#52587) next »