Skip to content

Commit 6dd9fad

Browse files
committed
Revert changes in test file
This reverts changes made in 2f70038 and 4fcaebb. This test is supposed to run only on Windows indeed, as in a Unix environment with a mail server configured, an email will be send. On Windows, only emptying the SMTP ini directives is enough.
1 parent 4fcaebb commit 6dd9fad

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ext/standard/tests/mail/bug69115.phpt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug #69115 crash in mail (plus indirect pcre test)
3+
--SKIPIF--
4+
<?php if (substr(PHP_OS, 0, 3) !== 'WIN') die('skip Windows only test, as in Unix builds it sends an email'); ?>
35
--INI--
46
SMTP =
57
smtp_port =
@@ -12,3 +14,4 @@ mail('user@example.com', 'My Subject', $message, "From: me@me.me");
1214
===DONE===
1315
--EXPECTREGEX--
1416
.*
17+
===DONE===

0 commit comments

Comments
 (0)