- extend & fixup test suite
[m6w6/ext-http] / tests / send_data_010.phpt
diff --git a/tests/send_data_010.phpt b/tests/send_data_010.phpt
new file mode 100644 (file)
index 0000000..9553c8d
--- /dev/null
@@ -0,0 +1,20 @@
+--TEST--
+http_send_data() HTTP_SENDBUF_SIZE long string
+--SKIPIF--
+<?php 
+include 'skip.inc';
+checkcgi();
+checkmin(5.1);
+?>
+--FILE--
+<?php
+http_throttle(0.01, 1);
+http_send_data('00000000000000000000');
+?>
+--EXPECTF--
+X-Powered-By: PHP/%s
+Accept-Ranges: bytes
+Content-Length: 20
+Content-type: %s
+
+00000000000000000000