From: Xinchen Hui Date: Thu, 22 Sep 2011 02:26:00 +0000 (+0000) Subject: Add tests for bug #55755 X-Git-Tag: php-5.4.0beta2~89 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8933798d364281c5106b3a2be1f3616745896408;p=php Add tests for bug #55755 --- diff --git a/sapi/cli/tests/php_cli_server_006.phpt b/sapi/cli/tests/php_cli_server_006.phpt new file mode 100644 index 0000000000..d23b6d3ca6 --- /dev/null +++ b/sapi/cli/tests/php_cli_server_006.phpt @@ -0,0 +1,45 @@ +--TEST-- +Bug #55755 (SegFault when outputting header WWW-Authenticate) +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +HTTP/1.1 200 OK +Host: %s +Connection: closed +X-Powered-By: PHP/%s-dev +Content-type: text/html + +string(3) "foo" +string(3) "bar"