On 11/13/2011 07:35 AM, Ferenc Kovacs wrote:
> uhm, I wanted to write squeeze, instead of lenny.
> So squeeze is more recent, and the test still fails.
> What is your environment where the test passes for you?
> I think that maybe it isn't related to the version, but that you have a
> local ftp to test or not.
> If you have, the underlying connection succeeds, but you get the "not
> implemented" error, if you don't have ftp available, you will still see
> the "Connection refused" error.
> Do you have ftp server running where you run the testsuite? Could you
> test running the test when the ftp server isn't running?

It failed on the two latest Ubuntu versions. And no, I don't have a
local ftpd on these boxes:

7:53am office:~/php-src/branches/PHP_5_4> make test
TESTS=ext/standard/tests/streams

Build complete.
Don't forget to run 'make test'.


=====================================================================
PHP         : /home/rasmus/php-src/branches/PHP_5_4/sapi/cli/php
PHP_SAPI    : cli
PHP_VERSION : 5.4.0RC2-dev
ZEND_VERSION: 2.4.0
PHP_OS      : Linux - Linux office 2.6.39-0-generic #5~20110427-Ubuntu
SMP Wed Apr 27 15:27:41 UTC 2011 x86_64
INI actual  : /home/rasmus/php-src/branches/PHP_5_4/tmp-php.ini
More .INIs  :
CWD         : /home/rasmus/php-src/branches/PHP_5_4
Extra dirs  :
VALGRIND    : Not used
=====================================================================
Running selected tests.
...
PASS Bug #49936 (crash with ftp stream in
php_stream_context_get_option()) [ext/standard/tests/streams/bug49936.phpt]
SKIP Bug #49936 (crash with ftp stream in
php_stream_context_get_option())
[ext/standard/tests/streams/bug49936_win32.phpt] reason: . Do run on
Windows only
...
=====================================================================
Number of tests :   35                34
Tests skipped   :    1 (  2.9%) --------
Tests warned    :    0 (  0.0%) (  0.0%)
Tests failed    :    0 (  0.0%) (  0.0%)
Expected fail   :    0 (  0.0%) (  0.0%)
Tests passed    :   34 ( 97.1%) (100.0%)
---------------------------------------------------------------------
Time taken      :    0 seconds
=====================================================================
7:53am office:~/php-src/branches/PHP_5_4> ftp localhost
ftp: connect: Connection refused

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

Reply via email to