com php-src: Fix #78684: PCRE bug72463_2 test is sending emails on Linux: NEWS ext/pcre/test s/bug72463_2.phpt

From: Date: Sat, 19 Oct 2019 10:59:32 +0000
Subject: com php-src: Fix #78684: PCRE bug72463_2 test is sending emails on Linux: NEWS ext/pcre/test s/bug72463_2.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-108954@lists.php.net to get a copy of this message
Commit: 26635ed71aa45e10f6c67555d1139d37d303dd72 Author: Christoph M. Becker <cmbecker69@gmx.de> Sat, 19 Oct 2019 12:53:29 +0200 Parents: ee6a71ca7350c5c9730275a264a9c173940b071b Branches: PHP-7.4 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=26635ed71aa45e10f6c67555d1139d37d303dd72 Log: 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. Bugs: https://bugs.php.net/78684 https://bugs.php.net/72463 Changed paths: M NEWS M ext/pcre/tests/bug72463_2.phpt Diff: diff --git a/NEWS b/NEWS index 88e277b4e88..5525f6a5770 100644 --- a/NEWS +++ b/NEWS @@ -8,6 +8,9 @@ PHP NEWS - Date: . Fixed bug #70153 (\DateInterval incorrectly unserialized). (Maksim Iakunin) +- Testing: + . Fixed bug #78684 (PCRE bug72463_2 test is sending emails on Linux). (cmb) + 17 Oct 2019, PHP 7.4.0RC4 - Core: diff --git a/ext/pcre/tests/bug72463_2.phpt b/ext/pcre/tests/bug72463_2.phpt index 9b9ac9bdc59..1baeb0f2a11 100644 --- a/ext/pcre/tests/bug72463_2.phpt +++ b/ext/pcre/tests/bug72463_2.phpt @@ -1,5 +1,11 @@ --TEST-- Bug #72463 mail fails with invalid argument +--SKIPIF-- +<?php +if(substr(PHP_OS, 0, 3) != "WIN") { + die('skip windows only'); +} +?> --INI-- SMTP=non.existent.smtp.server --FILE--

« previous php.cvs (#108954) next »