summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2015-03-12 16:58:50 +0300
committerDmitry Stogov <dmitry@zend.com>2015-03-12 16:58:50 +0300
commit9d71d6538847e1373303f315c4c05cbb4b6020a4 (patch)
treeb3030e437e7669116a0918caf1daa13fd821eb9c
parent8633685675692e9a926cf9f97b1c406c37497ddf (diff)
downloadphp-git-9d71d6538847e1373303f315c4c05cbb4b6020a4.tar.gz
Fixed tests
-rw-r--r--ext/ftp/tests/002.phpt1
-rw-r--r--ext/ftp/tests/bug37799.phpt1
2 files changed, 2 insertions, 0 deletions
diff --git a/ext/ftp/tests/002.phpt b/ext/ftp/tests/002.phpt
index e27113f61b..6c74e51e49 100644
--- a/ext/ftp/tests/002.phpt
+++ b/ext/ftp/tests/002.phpt
@@ -4,6 +4,7 @@ FTP login (SSL)
<?php
$ssl = 1;
require 'skipif.inc';
+if (!function_exists("ftp_ssl_connect")) die("skip ftp_ssl is disabled");
?>
--FILE--
<?php
diff --git a/ext/ftp/tests/bug37799.phpt b/ext/ftp/tests/bug37799.phpt
index 7636081a4e..e61d06f743 100644
--- a/ext/ftp/tests/bug37799.phpt
+++ b/ext/ftp/tests/bug37799.phpt
@@ -4,6 +4,7 @@ Bug #37799 (ftp_ssl_connect() falls back to non-ssl connection)
<?php
$ssl = 1;
require 'skipif.inc';
+if (!function_exists("ftp_ssl_connect")) die("skip ftp_ssl is disabled");
?>
--FILE--
<?php