]> granicus.if.org Git - php/commitdiff
Fix test.. the errormessage is irrelevant, we are testing if we segfault and corrupt...
authorHannes Magnusson <bjori@php.net>
Sun, 4 Dec 2011 12:34:19 +0000 (12:34 +0000)
committerHannes Magnusson <bjori@php.net>
Sun, 4 Dec 2011 12:34:19 +0000 (12:34 +0000)
ext/standard/tests/streams/bug49936.phpt

index e7cde2bd8ea2d2217ae5f0701a43946fb384ba8f..d98db1d79900ce19f5642986bf04040ea87ae580 100644 (file)
@@ -10,13 +10,12 @@ if( substr(PHP_OS, 0, 3) == "WIN" )
 
 $dir = 'ftp://your:self@localhost/';
 
-var_dump(opendir($dir));
-var_dump(opendir($dir));
+var_dump(@opendir($dir));
+var_dump(@opendir($dir));
 
 ?>
+===DONE===
 --EXPECTF--
-Warning: opendir(ftp://...@localhost/): failed to open dir: not implemented in %s on line %d
 bool(false)
-
-Warning: opendir(ftp://...@localhost/): failed to open dir: not implemented in %s on line %d
 bool(false)
+===DONE===