Fix test.. the errormessage is irrelevant, we are testing if we segfault and corrupt return value

This commit is contained in:
Hannes Magnusson 2011-12-04 12:34:19 +00:00
parent 191835fd3d
commit 1e6a82a1cf

View 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===