From 32dba92b6629d85b5439a884aabb522b7b4427d4 Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Thu, 22 Sep 2011 02:26:00 +0000 Subject: [PATCH] Add tests for bug #55755 --- sapi/cli/tests/php_cli_server_006.phpt | 45 ++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 sapi/cli/tests/php_cli_server_006.phpt 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" -- 2.50.1