From ce14d8cd5bfed373640cf019a0feaa90903ba19c Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Sun, 24 Jan 2010 17:53:10 +0000 Subject: [PATCH] - add win32 version of the test, damned error msg with eol in them --- .../tests/streams/bug49936_win32.phpt | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 ext/standard/tests/streams/bug49936_win32.phpt diff --git a/ext/standard/tests/streams/bug49936_win32.phpt b/ext/standard/tests/streams/bug49936_win32.phpt new file mode 100644 index 0000000000..4db4a5044f --- /dev/null +++ b/ext/standard/tests/streams/bug49936_win32.phpt @@ -0,0 +1,30 @@ +--TEST-- +Bug #49936 (crash with ftp stream in php_stream_context_get_option()) +--SKIPIF-- + +--INI-- +default_socket_timeout=2 +--FILE-- + +--EXPECTF-- +Warning: opendir(): connect() failed: %s + in %s on line %d + +Warning: opendir(ftp://...@localhost/): failed to open dir: operation failed in %s on line %d +bool(false) + +Warning: opendir(): connect() failed: %s + in %s on line %d + +Warning: opendir(ftp://...@localhost/): failed to open dir: operation failed in %s on line %d +bool(false) -- 2.40.0