]> granicus.if.org Git - php/commitdiff
fix test
authorAntony Dovgal <tony2001@php.net>
Wed, 21 Feb 2007 19:27:30 +0000 (19:27 +0000)
committerAntony Dovgal <tony2001@php.net>
Wed, 21 Feb 2007 19:27:30 +0000 (19:27 +0000)
ext/ftp/tests/bug37799.phpt
ext/xmlrpc/tests/bug40576.phpt

index 73f191a7a8c1b5630ee2e2cfee93c3e09fee6b74..a47d586789bf7ea69d0d125b002451d6686eac0e 100644 (file)
@@ -2,6 +2,7 @@
 Bug #37799: ftp_ssl_connect() falls back to non-ssl connection
 --SKIPIF--
 <?php
+$ssl = 1;
 require 'skipif.inc';
 ?>
 --FILE--
index 2060cb4fcca9102ffbee1ac1a96a8294811f0fb9..6b73f4d2cd95197e0a2b656f573f1ec035d850b3 100644 (file)
@@ -1,5 +1,10 @@
 --TEST--
 Bug #40576 (double values are truncated to 6 decimal digits when encoding)
+--SKIPIF--
+<?php
+if (!extension_loaded("xmlrpc")) print "skip";
+if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only");
+?>
 --INI--
 precision=12
 --FILE--