summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2004-04-28 15:14:47 +0000
committerIlia Alshanetsky <iliaa@php.net>2004-04-28 15:14:47 +0000
commit738aa1099f6093f41cd82fdcbf313911486cd5da (patch)
tree7c865c6e9be023dba72aa0d83c7a775a4202ca3c
parent027d45016653db83d1d61a94cba885b3d5e08304 (diff)
downloadphp-git-738aa1099f6093f41cd82fdcbf313911486cd5da.tar.gz
Added missing skip condition.
-rw-r--r--ext/xsl/tests/xslt008.phpt5
-rw-r--r--ext/xsl/tests/xslt009.phpt5
2 files changed, 8 insertions, 2 deletions
diff --git a/ext/xsl/tests/xslt008.phpt b/ext/xsl/tests/xslt008.phpt
index b6dc37bfd0..0efc88e8c5 100644
--- a/ext/xsl/tests/xslt008.phpt
+++ b/ext/xsl/tests/xslt008.phpt
@@ -1,7 +1,10 @@
--TEST--
Test 8: Stream Wrapper Includes
--SKIPIF--
-<?php require_once('skipif.inc'); ?>
+<?php
+ require_once('skipif.inc');
+ if (!extension_loaded('zlib')) die('skip zlib extension not available');
+?>
--FILE--
<?php
echo "Test 8: Stream Wrapper Includes ";
diff --git a/ext/xsl/tests/xslt009.phpt b/ext/xsl/tests/xslt009.phpt
index dd8060f4b9..f763e84daa 100644
--- a/ext/xsl/tests/xslt009.phpt
+++ b/ext/xsl/tests/xslt009.phpt
@@ -1,7 +1,10 @@
--TEST--
Test 9: Stream Wrapper XPath-Document()
--SKIPIF--
-<?php require_once('skipif.inc'); ?>
+<?php
+ require_once('skipif.inc');
+ if (!extension_loaded('zlib')) die('skip zlib extension not available');
+?>
--FILE--
<?php
echo "Test 9: Stream Wrapper XPath-Document()";