Skip to content

Commit 26635ed

Browse files
committed
Fix #78684: PCRE bug72463_2 test is sending emails on Linux
This test is not supposed to run on non Windows systems; otherwise it would try to send an email.
1 parent ee6a71c commit 26635ed

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ PHP NEWS
88
- Date:
99
. Fixed bug #70153 (\DateInterval incorrectly unserialized). (Maksim Iakunin)
1010

11+
- Testing:
12+
. Fixed bug #78684 (PCRE bug72463_2 test is sending emails on Linux). (cmb)
13+
1114
17 Oct 2019, PHP 7.4.0RC4
1215

1316
- Core:

ext/pcre/tests/bug72463_2.phpt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
--TEST--
22
Bug #72463 mail fails with invalid argument
3+
--SKIPIF--
4+
<?php
5+
if(substr(PHP_OS, 0, 3) != "WIN") {
6+
die('skip windows only');
7+
}
8+
?>
39
--INI--
410
SMTP=non.existent.smtp.server
511
--FILE--

0 commit comments

Comments
 (0)