]> 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 dcfa6364a295b3a94cce5dce286716abe918bbf4..d98db1d79900ce19f5642986bf04040ea87ae580 100644 (file)
@@ -10,14 +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===