From: Xinchen Hui Date: Thu, 22 Sep 2011 02:26:00 +0000 (+0000) Subject: Add tests for bug #55755 X-Git-Tag: php-5.5.0alpha1~1093 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=32dba92b6629d85b5439a884aabb522b7b4427d4;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"