summaryrefslogtreecommitdiff
path: root/ext/phar/tests
diff options
context:
space:
mode:
authorChristopher Jones <sixd@php.net>2011-06-17 18:28:34 +0000
committerChristopher Jones <sixd@php.net>2011-06-17 18:28:34 +0000
commit21abc2f1c1e8179c3d75fa35c3b0091ea4499689 (patch)
tree0808924a06b8cacb55d44038dd5b3201a6432393 /ext/phar/tests
parent4b9857e7a4848f94a0961ea3ce72f737cbf4bfed (diff)
downloadphp-git-21abc2f1c1e8179c3d75fa35c3b0091ea4499689.tar.gz
Fix skipif to resolve the common reason this test fails
Diffstat (limited to 'ext/phar/tests')
-rw-r--r--ext/phar/tests/bug52013.phpt5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/phar/tests/bug52013.phpt b/ext/phar/tests/bug52013.phpt
index f4635a4660..5ee37e7d4e 100644
--- a/ext/phar/tests/bug52013.phpt
+++ b/ext/phar/tests/bug52013.phpt
@@ -6,7 +6,10 @@ http://bugs.php.net/bug.php?id=52013
--CREDITS--
Frederic Hardy frederic.hardy@mageekbox.net
--SKIPIF--
-<?php if (!extension_loaded("phar")) die("skip"); ?>
+<?php
+if (!extension_loaded("phar")) die("skip");
+if (!extension_loaded("zlib")) die("skip test needs zlib extension enabled to compress archives with gzip");
+?>
--INI--
phar.require_hash=0
phar.readonly=0