From e3de409eac95870cc0323f3e4df32a0435658333 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Fri, 15 Aug 2014 13:08:53 +0400 Subject: Fixed PHP6 unicode related tests --- ext/phar/tests/zip/all.phpt | 2 +- ext/phar/tests/zip/allU.phpt | 2 +- ext/phar/tests/zip/metadata_write_commit.phpt | 2 +- ext/phar/tests/zip/metadata_write_commitU.phpt | 2 +- ext/phar/tests/zip/phar_begin_setstub_commit.phpt | 2 +- ext/phar/tests/zip/phar_begin_setstub_commitU.phpt | 2 +- ext/phar/tests/zip/phar_magic.phpt | 2 +- ext/phar/tests/zip/phar_magicU.phpt | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) (limited to 'ext/phar/tests/zip') 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-- ")) 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-- ")) 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-- --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-- ")) 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-- --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-- ")) 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-- --INI-- phar.require_hash=0 -- cgit v1.2.1