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
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php