com php-src: Revert changes in test file: ext/standard/tests/mail/bug69115.phpt

From: Date: Fri, 31 Aug 2018 11:48:48 +0000
Subject: com php-src: Revert changes in test file: ext/standard/tests/mail/bug69115.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-102950@lists.php.net to get a copy of this message
Commit: 6dd9fad0c0d388721a3c15c4d3f180f8539447d0 Author: Gabriel Caruso <carusogabriel34@gmail.com> Fri, 31 Aug 2018 08:39:18 -0300 Parents: 4fcaebbab82ea5fb66393bdbb5a4d0d57678aaee Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=6dd9fad0c0d388721a3c15c4d3f180f8539447d0 Log: Revert changes in test file This reverts changes made in 2f700384 and 4fcaebba. 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. Changed paths: M ext/standard/tests/mail/bug69115.phpt Diff: diff --git a/ext/standard/tests/mail/bug69115.phpt b/ext/standard/tests/mail/bug69115.phpt index 8a4bed1..78fa49f 100644 --- a/ext/standard/tests/mail/bug69115.phpt +++ b/ext/standard/tests/mail/bug69115.phpt @@ -1,5 +1,7 @@ --TEST-- Bug #69115 crash in mail (plus indirect pcre test) +--SKIPIF-- +<?php if (substr(PHP_OS, 0, 3) !== 'WIN') die('skip Windows only test, as in Unix builds it sends an email'); ?> --INI-- SMTP = smtp_port = @@ -12,3 +14,4 @@ mail('user@example.com', 'My Subject', $message, "From: me@me.me"); ===DONE=== --EXPECTREGEX-- .* +===DONE===

« previous php.cvs (#102950) next »