diff options
author | Xinchen Hui <laruence@gmail.com> | 2015-11-11 19:51:33 +0800 |
---|---|---|
committer | Ferenc Kovacs <tyrael@php.net> | 2015-11-11 14:55:33 +0100 |
commit | f72c7edfa4b7212a7b9583bf2f66f3b5e72b8602 (patch) | |
tree | f2f904e509fe57f260de8246a3682d098aa1ca44 /sapi | |
parent | b22636c838cb39eeb2c108c189a883ae9a9fd906 (diff) | |
download | php-git-f72c7edfa4b7212a7b9583bf2f66f3b5e72b8602.tar.gz |
Ensure the test fails
Diffstat (limited to 'sapi')
-rw-r--r-- | sapi/cli/tests/bug70470.phpt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sapi/cli/tests/bug70470.phpt b/sapi/cli/tests/bug70470.phpt index c66f4c3065..acd8c98f05 100644 --- a/sapi/cli/tests/bug70470.phpt +++ b/sapi/cli/tests/bug70470.phpt @@ -20,8 +20,12 @@ if (!$fp) { fwrite($fp, "GET / HTTP/1.1\r\n"); fwrite($fp, "Host: " . PHP_CLI_SERVER_HOSTNAME . "\r\n"); fwrite($fp, "Content"); +fflush($fp); +usleep(200000); fwrite($fp, "-Type: text/html; charset=UTF-8\r\n"); fwrite($fp, "Connection: clo"); +fflush($fp); +usleep(200000); fwrite($fp, "se\r\n\r\n"); while (!feof($fp)) { echo fgets($fp); |