]> granicus.if.org Git - php/commitdiff
MFH: fixed test failure on win32.
authorRui Hirokawa <hirokawa@php.net>
Sun, 11 Sep 2011 13:15:40 +0000 (13:15 +0000)
committerRui Hirokawa <hirokawa@php.net>
Sun, 11 Sep 2011 13:15:40 +0000 (13:15 +0000)
ext/mbstring/tests/bug52861.phpt

index 085f3ba29715d98053ab481002b7dc98b347dfd3..dedd6eb2d09fc1c1ff239bc261ad04c462ab700c 100644 (file)
@@ -2,6 +2,9 @@
 Bug #52681 (mb_send_mail() appends an extra MIME-Version header)
 --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");
 }