- use the test itself, making the test passes when ran outside the src tree

This commit is contained in:
Pierre Joye 2011-12-12 19:09:01 +00:00
parent 4e03e70575
commit 3a68270fcf

View file

@ -2,7 +2,7 @@
Bug #20424 (stream_get_meta_data crashes on a normal file stream) Bug #20424 (stream_get_meta_data crashes on a normal file stream)
--FILE-- --FILE--
<?php <?php
$f = fopen(dirname(__FILE__) . "/../../../../run-tests.php", "r"); $f = fopen(__FILE__, "r");
$dummy = var_export(stream_get_meta_data($f), TRUE); $dummy = var_export(stream_get_meta_data($f), TRUE);
echo "I'm alive!\n"; echo "I'm alive!\n";
?> ?>