From: Greg Beaver Date: Wed, 23 Apr 2008 18:46:21 +0000 (+0000) Subject: increase code coverage X-Git-Tag: RELEASE_2_0_0b1~242 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ba2182d7953a9d5172a6deedf4e74155e53f783b;p=php increase code coverage --- diff --git a/ext/phar/tests/phar_convert_again.phpt b/ext/phar/tests/phar_convert_again.phpt index 7cbec7cd13..26c738b2b1 100644 --- a/ext/phar/tests/phar_convert_again.phpt +++ b/ext/phar/tests/phar_convert_again.phpt @@ -53,6 +53,11 @@ $tgz->convertToExecutable(25); } catch (Exception $e) { echo $e->getMessage() . "\n"; } +try { +$tgz->convertToExecutable(Phar::ZIP, Phar::GZ); +} catch (Exception $e) { +echo $e->getMessage() . "\n"; +} ?> ===DONE=== --CLEAN-- @@ -79,4 +84,5 @@ hi %sphar_convert_again2.phar.tar %sphar_convert_again2.phar.tar.gz Unknown file format specified, please pass one of Phar::PHAR, Phar::TAR or Phar::ZIP +Cannot compress entire archive with gzip, zip archives do not support whole-archive compression ===DONE===