- Fixed build on php-trunk
[m6w6/ext-http] / tests / send_file_005.phpt
index 958325e45a39f4b84a85fb4f9eb65c6510f91596..51f6b8fed2d06c216259cc81f6a65fb8c5d5a448 100644 (file)
@@ -3,6 +3,8 @@ http_send_file() multiple ranges
 --SKIPIF--
 <?php 
 include 'skip.inc';
+checkcgi();
+checkmin("5.2.5");
 ?>
 --ENV--
 HTTP_RANGE=bytes=0-3, 4-5,9-11
@@ -12,7 +14,7 @@ http_send_content_type('text/plain');
 http_send_file('data.txt');
 ?>
 --EXPECTF--
-Status: 206
+Status: 206%s
 X-Powered-By: PHP/%s
 Accept-Ranges: bytes
 Content-Type: multipart/byteranges; boundary=%d.%d