From: Dmitry Stogov Date: Mon, 18 Jun 2007 10:47:33 +0000 (+0000) Subject: Fixed tests X-Git-Tag: BEFORE_IMPORT_OF_MYSQLND~430 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6b6da6a074461ecc023d855b063ee69fdf5929d5;p=php Fixed tests --- diff --git a/ext/zlib/tests/ob_001.phpt b/ext/zlib/tests/ob_001.phpt index 2e7fdedd99..0b3cd1069d 100644 --- a/ext/zlib/tests/ob_001.phpt +++ b/ext/zlib/tests/ob_001.phpt @@ -5,6 +5,8 @@ zlib.output_compression if (!extension_loaded("zlib")) die("skip need ext/zlib"); if (false === stristr(PHP_SAPI, "cgi")) die("skip need sapi/cgi"); ?> +--GET-- +a=b --INI-- zlib.output_compression=1 --ENV-- @@ -14,9 +16,4 @@ HTTP_ACCEPT_ENCODING=gzip echo "hi\n"; ?> --EXPECTF-- -%s -Content-Encoding: gzip -Vary: Accept-Encoding -%s - ‹%s diff --git a/ext/zlib/tests/ob_002.phpt b/ext/zlib/tests/ob_002.phpt index 80691d2497..5601440eb8 100644 --- a/ext/zlib/tests/ob_002.phpt +++ b/ext/zlib/tests/ob_002.phpt @@ -14,4 +14,4 @@ ini_set("zlib.output_compression", 0); echo "hi\n"; ?> --EXPECTF-- -%shi +hi