com php-src: Fix test expectation: ext/standard/tests/mail/mail _variation_alt3-win32.phpt

From: Date: Fri, 29 Mar 2019 08:55:04 +0000
Subject: com php-src: Fix test expectation: ext/standard/tests/mail/mail _variation_alt3-win32.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-105392@lists.php.net to get a copy of this message
Commit: 0aa1a2c8333fb828e8f77a369d0f208c1fcb04e3 Author: Christoph M. Becker <cmbecker69@gmx.de> Fri, 29 Mar 2019 09:45:38 +0100 Parents: 402adc1df13557c805ccafbc97b9e62f829df7e0 Branches: PHP-7.2 PHP-7..3 PHP-7.4 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=0aa1a2c8333fb828e8f77a369d0f208c1fcb04e3 Log: Fix test expectation The W32_SM_SENDMAIL_FROM_MALFORMED error message will only be shown if the $additional_headers parameter is passed to mail, which is not the case for this test. Instead we have to expect BAD_MSG_RPATH. Changed paths: M ext/standard/tests/mail/mail_variation_alt3-win32.phpt Diff: diff --git a/ext/standard/tests/mail/mail_variation_alt3-win32.phpt b/ext/standard/tests/mail/mail_variation_alt3-win32.phpt index ae6e308..e31607f 100644 --- a/ext/standard/tests/mail/mail_variation_alt3-win32.phpt +++ b/ext/standard/tests/mail/mail_variation_alt3-win32.phpt @@ -87,5 +87,5 @@ imap_close($imap_stream, CL_EXPUNGE); --EXPECTF-- *** Testing mail() : basic functionality *** -Warning: mail(): "sendmail_from" not set in php.ini or custom "From:" header missing in %s on line %d +Warning: mail(): Bad Message Return Path in %s on line %d TEST COMPLETED : Unable to send test email

« previous php.cvs (#105392) next »