diff options
Diffstat (limited to 'ext/standard/tests/mail')
-rw-r--r-- | ext/standard/tests/mail/mail_basic2.phpt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ext/standard/tests/mail/mail_basic2.phpt b/ext/standard/tests/mail/mail_basic2.phpt index 3e92479deb..bb2e42eebc 100644 --- a/ext/standard/tests/mail/mail_basic2.phpt +++ b/ext/standard/tests/mail/mail_basic2.phpt @@ -30,7 +30,12 @@ $outFile = "mailBasic2.out"; echo "-- extra parameters --\n"; // Calling mail() with all possible arguments var_dump( mail($to, $subject, $message, $additional_headers, $additional_parameters) ); -sleep(1); + +//This test is just using a shell command (see the INI setting). The sleep() +//is used because that can take a while. If you see the test failing sometimes try +//increasing the length of the sleep. + +sleep(5); echo file_get_contents($outFile); //unlink($outFile); ?> |