summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2007-04-10 21:38:09 +0000
committerAntony Dovgal <tony2001@php.net>2007-04-10 21:38:09 +0000
commit210389ab212858b57d0cb5d86c5723cef98e12c2 (patch)
tree1374a6f1d99998d20275cc273e77358d559045d1
parent5c2b931d6f1ff327b059a0a4d535e15f269da0f2 (diff)
downloadphp-git-210389ab212858b57d0cb5d86c5723cef98e12c2.tar.gz
skip test if openssl is present
in this case the error messages are different
-rwxr-xr-xext/soap/tests/bugs/bug34657.phpt11
1 files changed, 10 insertions, 1 deletions
diff --git a/ext/soap/tests/bugs/bug34657.phpt b/ext/soap/tests/bugs/bug34657.phpt
index 9334e4ee37..6a1acd095b 100755
--- a/ext/soap/tests/bugs/bug34657.phpt
+++ b/ext/soap/tests/bugs/bug34657.phpt
@@ -1,7 +1,16 @@
--TEST--
Bug #34657 (If you get a communication problem when loading the WSDL, it fatal's)
--SKIPIF--
-<?php require_once('skipif.inc'); ?>
+<?php
+require_once('skipif.inc');
+if (extension_loaded("openssl")) {
+ /*
+ when openssl loaded, tcp stream is less verbose, so some error messages are missing
+ so let's skip the test in this case
+ */
+ die("skip");
+}
+?>
--FILE--
<?php
try {