mirror of
https://github.com/php/php-src.git
synced 2024-09-22 18:37:25 +00:00
yet another test rewrite
This commit is contained in:
parent
bd74e7d013
commit
056c2ce349
@ -3,11 +3,16 @@ Bug #72463 mail fails with invalid argument
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
if(substr(PHP_OS, 0, 3) == "WIN") {
|
||||
ini_set("smtp", "non.existent.smtp.server");
|
||||
} else {
|
||||
ini_set("sendmail_path", "echo hello >/dev/null");
|
||||
}
|
||||
|
||||
mail("some.address.it.wont.ever.reach@lookup.and.try.to.find.this.host.name","subject","a", "");
|
||||
mail("some.address.it.wont.ever.reach@lookup.and.try.to.find.this.host.name","subject","a", NULL);
|
||||
|
||||
?>
|
||||
===DONE===
|
||||
--EXPECTF--
|
||||
%A
|
||||
===DONE===
|
||||
--EXPECTREGEX--
|
||||
.*===DONE===
|
||||
|
Loading…
Reference in New Issue
Block a user