diff options
author | Dmitry Stogov <dmitry@zend.com> | 2014-08-15 13:08:53 +0400 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2014-08-15 13:08:53 +0400 |
commit | e3de409eac95870cc0323f3e4df32a0435658333 (patch) | |
tree | c427238a33af3f854a869b6a51edc3f2ed30e2ba /ext/phar/tests/zip | |
parent | d1b48a8b02d2fcee393aab7921d16054d323729b (diff) | |
download | php-git-e3de409eac95870cc0323f3e4df32a0435658333.tar.gz |
Fixed PHP6 unicode related tests
Diffstat (limited to 'ext/phar/tests/zip')
-rw-r--r-- | ext/phar/tests/zip/all.phpt | 2 | ||||
-rw-r--r-- | ext/phar/tests/zip/allU.phpt | 2 | ||||
-rw-r--r-- | ext/phar/tests/zip/metadata_write_commit.phpt | 2 | ||||
-rw-r--r-- | ext/phar/tests/zip/metadata_write_commitU.phpt | 2 | ||||
-rw-r--r-- | ext/phar/tests/zip/phar_begin_setstub_commit.phpt | 2 | ||||
-rw-r--r-- | ext/phar/tests/zip/phar_begin_setstub_commitU.phpt | 2 | ||||
-rw-r--r-- | ext/phar/tests/zip/phar_magic.phpt | 2 | ||||
-rw-r--r-- | ext/phar/tests/zip/phar_magicU.phpt | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/ext/phar/tests/zip/all.phpt b/ext/phar/tests/zip/all.phpt index 49d79a44cc..d69b76e1ea 100644 --- a/ext/phar/tests/zip/all.phpt +++ b/ext/phar/tests/zip/all.phpt @@ -3,7 +3,7 @@ Phar: test that creation of zip-based phar generates valid zip with all bells/wh --SKIPIF-- <?php if (!extension_loaded("phar")) die("skip"); -if (version_compare(PHP_VERSION, "6.0", ">")) die("skip pre-unicode version of PHP required"); +if (version_compare(PHP_VERSION, "6.0", "==")) die("skip pre-unicode version of PHP required"); if (!extension_loaded("spl")) die("skip SPL not available"); if (!extension_loaded("zlib")) die("skip zlib not available"); if (!extension_loaded("bz2")) die("skip bz2 not available"); diff --git a/ext/phar/tests/zip/allU.phpt b/ext/phar/tests/zip/allU.phpt index 93fe5da4c0..97a9dd53bd 100644 --- a/ext/phar/tests/zip/allU.phpt +++ b/ext/phar/tests/zip/allU.phpt @@ -3,7 +3,7 @@ Phar: test that creation of zip-based phar generates valid zip with all bells/wh --SKIPIF-- <?php if (!extension_loaded("phar")) die("skip"); -if (version_compare(PHP_VERSION, "6.0", "<")) die("skip Unicode support required"); +if (version_compare(PHP_VERSION, "6.0", "!=")) die("skip Unicode support required"); if (!extension_loaded("spl")) die("skip SPL not available"); if (!extension_loaded("zlib")) die("skip zlib not available"); if (!extension_loaded("bz2")) die("skip bz2 not available"); diff --git a/ext/phar/tests/zip/metadata_write_commit.phpt b/ext/phar/tests/zip/metadata_write_commit.phpt index 1629636222..326695f825 100644 --- a/ext/phar/tests/zip/metadata_write_commit.phpt +++ b/ext/phar/tests/zip/metadata_write_commit.phpt @@ -3,7 +3,7 @@ Phar with meta-data (write) zip-based --SKIPIF-- <?php if (!extension_loaded("phar")) die("skip"); -if (version_compare(PHP_VERSION, "6.0", ">")) die("skip pre-unicode version of PHP required"); +if (version_compare(PHP_VERSION, "6.0", "==")) die("skip pre-unicode version of PHP required"); ?> --INI-- phar.require_hash=0 diff --git a/ext/phar/tests/zip/metadata_write_commitU.phpt b/ext/phar/tests/zip/metadata_write_commitU.phpt index bc589af909..9e54ba7f6b 100644 --- a/ext/phar/tests/zip/metadata_write_commitU.phpt +++ b/ext/phar/tests/zip/metadata_write_commitU.phpt @@ -3,7 +3,7 @@ Phar with meta-data (write) zip-based --SKIPIF-- <?php if (!extension_loaded("phar")) die("skip"); -if (version_compare(PHP_VERSION, "6.0", "<")) die("skip Unicode support required"); +if (version_compare(PHP_VERSION, "6.0", "!=")) die("skip Unicode support required"); ?> --INI-- phar.require_hash=0 diff --git a/ext/phar/tests/zip/phar_begin_setstub_commit.phpt b/ext/phar/tests/zip/phar_begin_setstub_commit.phpt index dc59f2f3aa..5c42c29962 100644 --- a/ext/phar/tests/zip/phar_begin_setstub_commit.phpt +++ b/ext/phar/tests/zip/phar_begin_setstub_commit.phpt @@ -3,7 +3,7 @@ Phar::startBuffering()/setStub()/stopBuffering() zip-based --SKIPIF-- <?php if (!extension_loaded("phar")) die("skip"); -if (version_compare(PHP_VERSION, "6.0", ">")) die("skip pre-unicode version of PHP required"); +if (version_compare(PHP_VERSION, "6.0", "==")) die("skip pre-unicode version of PHP required"); ?> --INI-- phar.readonly=0 diff --git a/ext/phar/tests/zip/phar_begin_setstub_commitU.phpt b/ext/phar/tests/zip/phar_begin_setstub_commitU.phpt index 2956fc6f4a..ae38d59c5f 100644 --- a/ext/phar/tests/zip/phar_begin_setstub_commitU.phpt +++ b/ext/phar/tests/zip/phar_begin_setstub_commitU.phpt @@ -3,7 +3,7 @@ Phar::startBuffering()/setStub()/stopBuffering() zip-based --SKIPIF-- <?php if (!extension_loaded("phar")) die("skip"); -if (version_compare(PHP_VERSION, "6.0", "<")) die("skip Unicode support required"); +if (version_compare(PHP_VERSION, "6.0", "!=")) die("skip Unicode support required"); ?> --INI-- phar.readonly=0 diff --git a/ext/phar/tests/zip/phar_magic.phpt b/ext/phar/tests/zip/phar_magic.phpt index 694f927773..b05e6974a8 100644 --- a/ext/phar/tests/zip/phar_magic.phpt +++ b/ext/phar/tests/zip/phar_magic.phpt @@ -3,7 +3,7 @@ Phar: include/fopen magic zip-based --SKIPIF-- <?php if (!extension_loaded("phar")) die("skip"); -if (version_compare(PHP_VERSION, "6.0", ">")) die("skip pre-unicode version of PHP required"); +if (version_compare(PHP_VERSION, "6.0", "==")) die("skip pre-unicode version of PHP required"); ?> --INI-- phar.require_hash=0 diff --git a/ext/phar/tests/zip/phar_magicU.phpt b/ext/phar/tests/zip/phar_magicU.phpt index f034e4ede7..4f843bc378 100644 --- a/ext/phar/tests/zip/phar_magicU.phpt +++ b/ext/phar/tests/zip/phar_magicU.phpt @@ -3,7 +3,7 @@ Phar: include/fopen magic zip-based --SKIPIF-- <?php if (!extension_loaded("phar")) die("skip"); -if (version_compare(PHP_VERSION, "6.0", "<")) die("skip Unicode support required"); +if (version_compare(PHP_VERSION, "6.0", "!=")) die("skip Unicode support required"); ?> --INI-- phar.require_hash=0 |