Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified ext/zlib/tests/bug55544-win.phpt
Binary file not shown.
18 changes: 0 additions & 18 deletions ext/zlib/tests/func.inc

This file was deleted.

7 changes: 2 additions & 5 deletions ext/zlib/tests/gzencode_variation2-win32.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,8 @@ if( substr(PHP_OS, 0, 3) != "WIN" ) {
die("skip.. only for Windows");
}



include 'func.inc';
if (version_compare(get_zlib_version(), "1.2.11") < 0) {
die("skip - at least zlib 1.2.11 required, got " . get_zlib_version());
if (version_compare(ZLIB_VERSION, "1.2.11") < 0) {
die("skip - at least zlib 1.2.11 required, got " . ZLIB_VERSION);
}
?>
--FILE--
Expand Down
4 changes: 1 addition & 3 deletions ext/zlib/tests/gzgetc_basic.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ Test function gzgetc() by calling it with its expected arguments zlib 1.2.5
zlib
--SKIPIF--
<?php

include 'func.inc';
if (version_compare(get_zlib_version(), '1.2.5') > 0) {
if (version_compare(ZLIB_VERSION, '1.2.5') > 0) {
die('skip - only for zlib <= 1.2.5');
}
?>
Expand Down
4 changes: 1 addition & 3 deletions ext/zlib/tests/gzgetc_basic_1.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ Test function gzgetc() by calling it with its expected arguments zlib 1.2.7
zlib
--SKIPIF--
<?php

include 'func.inc';
if (version_compare(get_zlib_version(), '1.2.7') < 0) {
if (version_compare(ZLIB_VERSION, '1.2.7') < 0) {
die('skip - only for zlib >= 1.2.7');
}
?>
Expand Down
Loading