From: Matteo Beccati Date: Wed, 6 Jul 2016 05:08:43 +0000 (+0200) Subject: Rewrite test to avoid sending emails X-Git-Tag: php-7.1.0beta1~167^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ff7c981d1927134809729ab164e6c23e9f63781d;p=php Rewrite test to avoid sending emails A properly configured email server was generating bounce emails when running the test. --- diff --git a/ext/pcre/tests/bug72463.phpt b/ext/pcre/tests/bug72463.phpt index 3d38494917..b40a721998 100644 --- a/ext/pcre/tests/bug72463.phpt +++ b/ext/pcre/tests/bug72463.phpt @@ -1,13 +1,15 @@ --TEST-- Bug #72463 mail fails with invalid argument ---FILE-- +--SKIPIF-- /dev/null"); + die('skip not for windows'); } +?> +--INI-- +sendmail_path="echo >/dev/null" +--FILE-- + +--INI-- +SMTP=non.existent.smtp.server +--FILE-- + +===DONE=== +--EXPECTREGEX-- +.*===DONE===