summaryrefslogtreecommitdiff
path: root/ext/zlib/tests
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2011-08-31 04:24:48 (GMT)
committerStanislav Malyshev <stas@php.net>2011-08-31 04:24:48 (GMT)
commitcd8202694cff8d60fd4661c389276aa74afae48c (patch)
tree62596850a0c76dd62890ec455fd5838b1709ee8e /ext/zlib/tests
parent1c88dcf39f95b9513ef9a018d5ee28c21b1119e6 (diff)
downloadphp-cd8202694cff8d60fd4661c389276aa74afae48c.tar.gz
fix tests
Diffstat (limited to 'ext/zlib/tests')
-rw-r--r--ext/zlib/tests/gzencode_variation2.phpt2
-rw-r--r--ext/zlib/tests/ob_003.phpt6
-rw-r--r--ext/zlib/tests/ob_004.phpt5
-rw-r--r--ext/zlib/tests/ob_005.phpt3
4 files changed, 7 insertions, 9 deletions
diff --git a/ext/zlib/tests/gzencode_variation2.phpt b/ext/zlib/tests/gzencode_variation2.phpt
index e6fe7dd..3234ccf 100644
--- a/ext/zlib/tests/gzencode_variation2.phpt
+++ b/ext/zlib/tests/gzencode_variation2.phpt
@@ -1,7 +1,7 @@
--TEST--
Test gzencode() function : variation - verify header contents with all encoding modes
--XFAIL--
-Test will fail until bug #47178 resolved; missing gzip headers whne FORCE_DEFLATE specified
+Test will fail until bug #47178 resolved; missing gzip headers when FORCE_DEFLATE specified
--SKIPIF--
<?php
diff --git a/ext/zlib/tests/ob_003.phpt b/ext/zlib/tests/ob_003.phpt
index 43dbb08..7142df7 100644
--- a/ext/zlib/tests/ob_003.phpt
+++ b/ext/zlib/tests/ob_003.phpt
@@ -17,9 +17,7 @@ ini_set("zlib.output_compression", 1);
echo "hi\n";
?>
--EXPECTF--
-%s
+%s
+--EXPECTHEADERS--
Content-Encoding: gzip
Vary: Accept-Encoding
-%s
-
-%s
diff --git a/ext/zlib/tests/ob_004.phpt b/ext/zlib/tests/ob_004.phpt
index 3d3be9d..f5e6af5 100644
--- a/ext/zlib/tests/ob_004.phpt
+++ b/ext/zlib/tests/ob_004.phpt
@@ -17,9 +17,8 @@ ob_start("ob_gzhandler");
echo "hi\n";
?>
--EXPECTF--
-%s
+%s
+--EXPECTHEADERS--
Content-Encoding: gzip
Vary: Accept-Encoding
-%s
-%s
diff --git a/ext/zlib/tests/ob_005.phpt b/ext/zlib/tests/ob_005.phpt
index c266cb7..1979393 100644
--- a/ext/zlib/tests/ob_005.phpt
+++ b/ext/zlib/tests/ob_005.phpt
@@ -18,4 +18,5 @@ ini_set("zlib.output_compression", 0);
echo "hi\n";
?>
--EXPECTF--
-%shi
+hi
+--EXPECTHEADERS--