com php-src: Fix test expectations: ext/imap/tests/bug77020.phpt ext/imap/tests/imap_fetchbody_variation3.phpt

From: Date: Fri, 29 Mar 2019 13:33:42 +0000
Subject: com php-src: Fix test expectations: ext/imap/tests/bug77020.phpt ext/imap/tests/imap_fetchbody_variation3.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-105401@lists.php.net to get a copy of this message
Commit: 9f545de0b6b1502364eebbf5ddc0e58a070aa78b Author: Christoph M. Becker <cmbecker69@gmx.de> Fri, 29 Mar 2019 13:57:39 +0100 Parents: 0aa1a2c8333fb828e8f77a369d0f208c1fcb04e3 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=9f545de0b6b1502364eebbf5ddc0e58a070aa78b Log: Fix test expectations While bug77020.phpt already succeeds on Linux, it fails on Windows; imap_fetchbody_variation3.phpt fails on both systems. We therefore make these tests more resilient. Bugs: https://bugs.php.net/77020 Changed paths: M ext/imap/tests/bug77020.phpt M ext/imap/tests/imap_fetchbody_variation3.phpt Diff: diff --git a/ext/imap/tests/bug77020.phpt b/ext/imap/tests/bug77020.phpt index 8a65232..357b753 100644 --- a/ext/imap/tests/bug77020.phpt +++ b/ext/imap/tests/bug77020.phpt @@ -11,5 +11,5 @@ imap_mail('1', 1, NULL); ===DONE=== --EXPECTF-- Warning: imap_mail(): No message string in mail command in %s on line %d -%s +%A ===DONE=== diff --git a/ext/imap/tests/imap_fetchbody_variation3.phpt b/ext/imap/tests/imap_fetchbody_variation3.phpt index 560f2b8..6a75e35 100644 --- a/ext/imap/tests/imap_fetchbody_variation3.phpt +++ b/ext/imap/tests/imap_fetchbody_variation3.phpt @@ -106,7 +106,7 @@ Create a temporary mailbox and add 1 msgs .. mailbox '%s.phpttest' created -- Iteration 1 -- -string(71) "From: %s +string(%d) "From: %s To: %s Subject: test1

« previous php.cvs (#105401) next »