upgrade test suite to 5.3
[m6w6/ext-http] / tests / send_file_011.phpt
index 1012da4784790f7cfcad59b9cf681ad180d3c9ae..99b43888a8336bf194b19c9621e37b1bf31f06e0 100644 (file)
@@ -4,15 +4,16 @@ http_send_file() NUM-NIL range
 <?php 
 include 'skip.inc';
 checkcgi();
-checkmin(5.1);
+checkmin(5.3);
 ?>
+--ENV--
+HTTP_RANGE=bytes=1000- 
 --FILE--
 <?php
-$_SERVER['HTTP_RANGE'] = 'bytes=1000- ';
 http_send_file('data.txt');
 ?>
 --EXPECTF--
-Status: 206
+Status: 206%s
 X-Powered-By: PHP/%s
 Accept-Ranges: bytes
 Content-Range: bytes 1000-1009/1010