]> granicus.if.org Git - php/commitdiff
skip test if openssl is present
authorAntony Dovgal <tony2001@php.net>
Tue, 10 Apr 2007 21:38:20 +0000 (21:38 +0000)
committerAntony Dovgal <tony2001@php.net>
Tue, 10 Apr 2007 21:38:20 +0000 (21:38 +0000)
ext/soap/tests/bugs/bug34657.phpt

index 95e139a57ce0c2c784f31992b1d2102c53e9c088..034d32828ee39ed5aadc098d71e7dc8e2ba1c6df 100755 (executable)
@@ -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 {