From: Greg Beaver Date: Wed, 23 Apr 2008 16:03:08 +0000 (+0000) Subject: new test for webPhar failure on opening file X-Git-Tag: RELEASE_2_0_0b1~258 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2aa87329db33df5afb54ced94eea08715e9b18f8;p=php new test for webPhar failure on opening file --- diff --git a/ext/phar/tests/webphar_compilefail.phpt b/ext/phar/tests/webphar_compilefail.phpt new file mode 100644 index 0000000000..ab5532d6be --- /dev/null +++ b/ext/phar/tests/webphar_compilefail.phpt @@ -0,0 +1,17 @@ +--TEST-- +Phar: Phar::webPhar, open compiled file fails +--SKIPIF-- + +--INI-- +phar.readonly=1 +--FILE-- +getMessage() . "\n"; +} +__HALT_COMPILER(); +?> +--EXPECTF-- +internal corruption of phar "%swebphar_compilefail.php" (truncated manifest at manifest length) \ No newline at end of file