- fixup tests
[m6w6/ext-http] / tests / stream_filters_001.phpt
index fe28774473a2526161359b9b90a332232373c453..73fd5677cec933500e2b9327f4fd3e3f8bd33110 100644 (file)
@@ -3,6 +3,7 @@ stream filters
 --SKIPIF--
 <?php
 include 'skip.inc';
+checkmin(5);
 ?>
 --FILE--
 <?php
@@ -23,17 +24,21 @@ var_dump(file_get_contents(F));
 $f = fopen(F, 'r');
 stream_filter_append($f, 'http.chunked_decode');
 var_dump(fread($f, 256));
+fclose($f);
 
+unlink(F);
 echo "Done\n";
+?>
 --EXPECTF--
 %sTEST
-string(27) "5
+string(30) "5
 Here 
 2
 we
 5
  go!
 
+0
 "
 string(12) "Here we go!
 "