Browse Source

exit -1 and exit -2 don't work for all sh. changed to exit 1

PHP-5.2.1RC1
Zoe Slattery 18 years ago
parent
commit
a44816ed09
  1. 2
      ext/standard/tests/mail/mail_basic3.phpt
  2. 2
      ext/standard/tests/mail/mail_basic4.phpt

2
ext/standard/tests/mail/mail_basic3.phpt

@ -1,7 +1,7 @@
--TEST--
Test mail() function : basic functionality
--INI--
sendmail_path="exit -1"
sendmail_path="exit 1"
--SKIPIF--
<?php
if(substr(PHP_OS, 0, 3) == "WIN")

2
ext/standard/tests/mail/mail_basic4.phpt

@ -1,7 +1,7 @@
--TEST--
Test mail() function : basic functionality
--INI--
sendmail_path="exit -2"
sendmail_path="exit 1"
--SKIPIF--
<?php
if(substr(PHP_OS, 0, 3) == "WIN")

Loading…
Cancel
Save