]> granicus.if.org Git - php/commitdiff
windows only test
authorFerenc Kovacs <tyrael@php.net>
Sun, 1 Mar 2015 12:02:44 +0000 (13:02 +0100)
committerFerenc Kovacs <tyrael@php.net>
Sun, 1 Mar 2015 12:02:44 +0000 (13:02 +0100)
ext/standard/tests/mail/bug69115.phpt

index dbc36be2f2ed78d8b0717bb4d49d836ff46702a5..360640a3fe13cfaece2b7945c69127c9b642a351 100644 (file)
@@ -1,10 +1,18 @@
 --TEST--
 Bug #69115 crash in mail (plus indirect pcre test)
+--SKIPIF--
+<?php
+if( substr(PHP_OS, 0, 3) != 'WIN' ) {
+   die('skip...Windows only test');
+}
+
+require_once(dirname(__FILE__).'/mail_skipif.inc');
+?>
 --FILE--
 <?php
 /* Just ensure it doesn't crash when trimming headers */
 $message = "Line 1\r\nLine 2\r\nLine 3";
-mail('caffeinated@not-ever-reached-example.com', 'My Subject', $message, "From: me@me.me");
+mail('user@example.com', 'My Subject', $message, "From: me@me.me");
 ?>
 ===DONE===
 --EXPECT--