On Mon, 14 Nov 2011 01:40:10 -0000, Rasmus Lerdorf <ras...@lerdorf.com> wrote:

I am still getting failures. The simplest one is bug53198.phpt which is
expecting to see:

-- Test: leave default --
string(63) "GET / HTTP/1.0
From: te...@teste.pt
Host: 127.0.0.1:12342

"
-- Test: after ini_set --
string(62) "GET / HTTP/1.0
From: j...@junk.com
Host: 127.0.0.1:12342

"

But I get:

-- Test: leave default --
string(0) ""
-- Test: after ini_set --
string(0) ""

I don't have anything else listening on 12342 and the server appears to
start up ok. I'll dive deeper into it later.


It works OK in my environment. A bad firewall configuration (blocking local TCP connections) could cause problems, but you'd get other sort of outputs.

=====================================================================
PHP         : /home/glopes/php/php-src/branches/PHP_5_4/sapi/cli/php
PHP_SAPI    : cli
PHP_VERSION : 5.4.0alpha2-dev
ZEND_VERSION: 2.4.0
PHP_OS : Linux - Linux nebm 2.6.32-5-amd64 #1 SMP Fri Sep 9 20:23:16 UTC 2011 x86_64
INI actual  : /home/glopes/php/php-src/branches/PHP_5_4/tmp-php.ini
More .INIs  :
CWD         : /home/glopes/php/php-src/branches/PHP_5_4
Extra dirs  :
VALGRIND    : Not used
=====================================================================
Running selected tests.
PASS Bug #38802 (ignore_errors and max_redirects) [ext/standard/tests/http/bug38802.phpt] PASS Bug #43510 (stream_get_meta_data() does not return same mode as used in fopen) [ext/standard/tests/http/bug43510.phpt] PASS Bug #48929 (duplicate \r\n sent after last header line) [ext/standard/tests/http/bug48929.phpt] PASS Bug #53198 (From: header cannot be changed with ini_set) [ext/standard/tests/http/bug53198.phpt]
PASS http:// and ignore_errors [ext/standard/tests/http/ignore_errors.phpt]
=====================================================================
Number of tests :    5                 5
Tests skipped   :    0 (  0.0%) --------
Tests warned    :    0 (  0.0%) (  0.0%)
Tests failed    :    0 (  0.0%) (  0.0%)
Expected fail   :    0 (  0.0%) (  0.0%)
Tests passed    :    5 (100.0%) (100.0%)
---------------------------------------------------------------------
Time taken      :    0 seconds
=====================================================================


--
Gustavo Lopes

--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to