hirokawa                                 Sun, 11 Sep 2011 13:04:21 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=316495

Log:
fixed test failure on win32.

Changed paths:
    U   php/php-src/trunk/ext/mbstring/tests/mb_send_mail01.phpt
    U   php/php-src/trunk/ext/mbstring/tests/mb_send_mail02.phpt
    U   php/php-src/trunk/ext/mbstring/tests/mb_send_mail03.phpt
    U   php/php-src/trunk/ext/mbstring/tests/mb_send_mail04.phpt
    U   php/php-src/trunk/ext/mbstring/tests/mb_send_mail05.phpt
    U   php/php-src/trunk/ext/mbstring/tests/mb_send_mail06.phpt
    U   php/php-src/trunk/ext/mbstring/tests/mb_send_mail07.phpt

Modified: php/php-src/trunk/ext/mbstring/tests/mb_send_mail01.phpt
===================================================================
--- php/php-src/trunk/ext/mbstring/tests/mb_send_mail01.phpt    2011-09-11 
12:29:15 UTC (rev 316494)
+++ php/php-src/trunk/ext/mbstring/tests/mb_send_mail01.phpt    2011-09-11 
13:04:21 UTC (rev 316495)
@@ -2,6 +2,9 @@
 mb_send_mail() test 1 (lang=neutral)
 --SKIPIF--
 <?php
+if(substr(PHP_OS, 0, 3) == "WIN") {
+  die("skip Won't run on Windows");
+}
 if (!function_exists("mb_send_mail") || !mb_language("neutral")) {
        die("skip mb_send_mail() not available");
 }

Modified: php/php-src/trunk/ext/mbstring/tests/mb_send_mail02.phpt
===================================================================
--- php/php-src/trunk/ext/mbstring/tests/mb_send_mail02.phpt    2011-09-11 
12:29:15 UTC (rev 316494)
+++ php/php-src/trunk/ext/mbstring/tests/mb_send_mail02.phpt    2011-09-11 
13:04:21 UTC (rev 316495)
@@ -2,6 +2,9 @@
 mb_send_mail() test 2 (lang=Japanese)
 --SKIPIF--
 <?php
+if(substr(PHP_OS, 0, 3) == "WIN") {
+  die("skip Won't run on Windows");
+}
 if (!function_exists("mb_send_mail") || !mb_language("japanese")) {
        die("skip mb_send_mail() not available");
 }

Modified: php/php-src/trunk/ext/mbstring/tests/mb_send_mail03.phpt
===================================================================
--- php/php-src/trunk/ext/mbstring/tests/mb_send_mail03.phpt    2011-09-11 
12:29:15 UTC (rev 316494)
+++ php/php-src/trunk/ext/mbstring/tests/mb_send_mail03.phpt    2011-09-11 
13:04:21 UTC (rev 316495)
@@ -2,6 +2,9 @@
 mb_send_mail() test 3 (lang=English)
 --SKIPIF--
 <?php
+if(substr(PHP_OS, 0, 3) == "WIN") {
+  die("skip Won't run on Windows");
+}
 if (!function_exists("mb_send_mail") || !mb_language("english")) {
        die("skip mb_send_mail() not available");
 }

Modified: php/php-src/trunk/ext/mbstring/tests/mb_send_mail04.phpt
===================================================================
--- php/php-src/trunk/ext/mbstring/tests/mb_send_mail04.phpt    2011-09-11 
12:29:15 UTC (rev 316494)
+++ php/php-src/trunk/ext/mbstring/tests/mb_send_mail04.phpt    2011-09-11 
13:04:21 UTC (rev 316495)
@@ -2,6 +2,9 @@
 mb_send_mail() test 4 (lang=German)
 --SKIPIF--
 <?php
+if(substr(PHP_OS, 0, 3) == "WIN") {
+  die("skip Won't run on Windows");
+}
 if (!function_exists("mb_send_mail") || !mb_language("german")) {
        die("skip mb_send_mail() not available");
 }

Modified: php/php-src/trunk/ext/mbstring/tests/mb_send_mail05.phpt
===================================================================
--- php/php-src/trunk/ext/mbstring/tests/mb_send_mail05.phpt    2011-09-11 
12:29:15 UTC (rev 316494)
+++ php/php-src/trunk/ext/mbstring/tests/mb_send_mail05.phpt    2011-09-11 
13:04:21 UTC (rev 316495)
@@ -2,6 +2,9 @@
 mb_send_mail() test 5 (lang=Simplified Chinese)
 --SKIPIF--
 <?php
+if(substr(PHP_OS, 0, 3) == "WIN") {
+  die("skip Won't run on Windows");
+}
 if (!function_exists("mb_send_mail") || !mb_language("Simplified Chinese")) {
        die("skip mb_send_mail() not available");
 }

Modified: php/php-src/trunk/ext/mbstring/tests/mb_send_mail06.phpt
===================================================================
--- php/php-src/trunk/ext/mbstring/tests/mb_send_mail06.phpt    2011-09-11 
12:29:15 UTC (rev 316494)
+++ php/php-src/trunk/ext/mbstring/tests/mb_send_mail06.phpt    2011-09-11 
13:04:21 UTC (rev 316495)
@@ -2,6 +2,9 @@
 mb_send_mail() test 6 (lang=Traditional Chinese)
 --SKIPIF--
 <?php
+if(substr(PHP_OS, 0, 3) == "WIN") {
+  die("skip Won't run on Windows");
+}
 if (!function_exists("mb_send_mail") || !mb_language("Traditional Chinese")) {
        die("skip mb_send_mail() not available");
 }

Modified: php/php-src/trunk/ext/mbstring/tests/mb_send_mail07.phpt
===================================================================
--- php/php-src/trunk/ext/mbstring/tests/mb_send_mail07.phpt    2011-09-11 
12:29:15 UTC (rev 316494)
+++ php/php-src/trunk/ext/mbstring/tests/mb_send_mail07.phpt    2011-09-11 
13:04:21 UTC (rev 316495)
@@ -2,6 +2,9 @@
 mb_send_mail() test 7 (lang=Korean)
 --SKIPIF--
 <?php
+if(substr(PHP_OS, 0, 3) == "WIN") {
+  die("skip Won't run on Windows");
+}
 if (!function_exists("mb_send_mail") || !mb_language("Korean")) {
        die("skip mb_send_mail() not available");
 }

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to