projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
upgrade test suite to 5.3
[m6w6/ext-http]
/
tests
/
send_data_001.phpt
diff --git
a/tests/send_data_001.phpt
b/tests/send_data_001.phpt
index 21c8d5c6d1e4984177aa40ec12e387fe53d8e6c6..2aadc8e3a790026a8c29609735a4f8eb8ede7b8f 100644
(file)
--- a/
tests/send_data_001.phpt
+++ b/
tests/send_data_001.phpt
@@
-4,7
+4,7
@@
http_send_data() NIL-NUM range
<?php
include 'skip.inc';
checkcgi();
<?php
include 'skip.inc';
checkcgi();
-checkmin(5);
+checkmin(5
.3
);
?>
--ENV--
HTTP_RANGE=bytes=-5
?>
--ENV--
HTTP_RANGE=bytes=-5
@@
-14,7
+14,7
@@
http_send_content_type('text/plain');
http_send_data(str_repeat('123abc', 1000));
?>
--EXPECTF--
http_send_data(str_repeat('123abc', 1000));
?>
--EXPECTF--
-Status: 206
+Status: 206
%s
X-Powered-By: PHP/%s
Content-Type: text/plain
Accept-Ranges: bytes
X-Powered-By: PHP/%s
Content-Type: text/plain
Accept-Ranges: bytes