diff options
author | Marcus Boerger <helly@php.net> | 2007-01-08 23:03:41 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2007-01-08 23:03:41 +0000 |
commit | 7093d72b5ef175c0b02232f90b21f13170c3f610 (patch) | |
tree | e5080115bd878be44f2042bf62b32aed5467a0ad /ext/phar/tests | |
parent | 6d3b05455652a64cbe41f2fa47302cf1e1a8c1d2 (diff) | |
download | php-git-7093d72b5ef175c0b02232f90b21f13170c3f610.tar.gz |
- Add initial hash support write/read/verify md5/sha1(default)
Diffstat (limited to 'ext/phar/tests')
52 files changed, 113 insertions, 0 deletions
diff --git a/ext/phar/tests/009.phpt b/ext/phar/tests/009.phpt index 7e3acabf0e..b2c9fd7f85 100644 --- a/ext/phar/tests/009.phpt +++ b/ext/phar/tests/009.phpt @@ -2,6 +2,8 @@ Phar::mapPhar too many manifest entries --SKIPIF-- <?php if (!extension_loaded("phar")) print "skip";?> +--INI-- +phar.require_hash=0 --FILE-- <?php $file = "<?php diff --git a/ext/phar/tests/010.phpt b/ext/phar/tests/010.phpt index f22d364c7f..b675180c8e 100644 --- a/ext/phar/tests/010.phpt +++ b/ext/phar/tests/010.phpt @@ -2,6 +2,8 @@ Phar::mapPhar buffer overrun --SKIPIF-- <?php if (!extension_loaded("phar")) print "skip";?> +--INI-- +phar.require_hash=0 --FILE-- <?php $file = "<?php diff --git a/ext/phar/tests/011.phpt b/ext/phar/tests/011.phpt index c88d918708..7c7ca1da06 100644 --- a/ext/phar/tests/011.phpt +++ b/ext/phar/tests/011.phpt @@ -2,6 +2,8 @@ Phar::mapPhar filesize too small in manifest --SKIPIF-- <?php if (!extension_loaded("phar")) print "skip";?> +--INI-- +phar.require_hash=0 --FILE-- <?php $file = "<?php diff --git a/ext/phar/tests/012.phpt b/ext/phar/tests/012.phpt index 83135586dd..529f520358 100644 --- a/ext/phar/tests/012.phpt +++ b/ext/phar/tests/012.phpt @@ -2,6 +2,8 @@ Phar::mapPhar valid file --SKIPIF-- <?php if (!extension_loaded("phar")) print "skip";?> +--INI-- +phar.require_hash=0 --FILE-- <?php $file = "<?php diff --git a/ext/phar/tests/013.phpt b/ext/phar/tests/013.phpt index ef966e5b2e..f5eab61655 100644 --- a/ext/phar/tests/013.phpt +++ b/ext/phar/tests/013.phpt @@ -2,6 +2,8 @@ Phar::mapPhar filesize mismatch --SKIPIF-- <?php if (!extension_loaded("phar")) print "skip";?> +--INI-- +phar.require_hash=0 --FILE-- <?php $file = "<?php diff --git a/ext/phar/tests/014.phpt b/ext/phar/tests/014.phpt index 51b753106e..cf414f7826 100644 --- a/ext/phar/tests/014.phpt +++ b/ext/phar/tests/014.phpt @@ -2,6 +2,8 @@ Phar::mapPhar filesize mismatch --SKIPIF-- <?php if (!extension_loaded("phar")) print "skip";?> +--INI-- +phar.require_hash=0 --FILE-- <?php $file = "<?php diff --git a/ext/phar/tests/015.phpt b/ext/phar/tests/015.phpt index 3e6c673691..14103ea0b2 100644 --- a/ext/phar/tests/015.phpt +++ b/ext/phar/tests/015.phpt @@ -3,6 +3,8 @@ Phar::mapPhar valid file (gzipped) --SKIPIF-- <?php if (!extension_loaded("phar")) print "skip"; if (!extension_loaded("zlib")) print "skip zlib not present"; ?> +--INI-- +phar.require_hash=0 --FILE-- <?php $file = "<?php diff --git a/ext/phar/tests/015b.phpt b/ext/phar/tests/015b.phpt index 06c0d3065a..caf9da7d13 100755 --- a/ext/phar/tests/015b.phpt +++ b/ext/phar/tests/015b.phpt @@ -3,6 +3,8 @@ Phar::mapPhar valid file (bzip2) --SKIPIF-- <?php if (!extension_loaded("phar")) print "skip"; if (!extension_loaded("bz2")) print "skip bz2 not present"; ?> +--INI-- +phar.require_hash=0 --FILE-- <?php $file = "<?php diff --git a/ext/phar/tests/016.phpt b/ext/phar/tests/016.phpt index 61d784474f..5f308ca614 100644 --- a/ext/phar/tests/016.phpt +++ b/ext/phar/tests/016.phpt @@ -3,6 +3,8 @@ Phar::mapPhar invalid file (gzipped file length is too short) --SKIPIF-- <?php if (!extension_loaded("phar")) print "skip"; if (!extension_loaded("zlib")) print "skip zlib not present"; ?> +--INI-- +phar.require_hash=0 --FILE-- <?php $file = "<?php diff --git a/ext/phar/tests/016b.phpt b/ext/phar/tests/016b.phpt index da6d10800a..2f5d3beaee 100755 --- a/ext/phar/tests/016b.phpt +++ b/ext/phar/tests/016b.phpt @@ -3,6 +3,8 @@ Phar::mapPhar invalid file (gzipped file length is too short) --SKIPIF-- <?php if (!extension_loaded("phar")) print "skip"; if (!extension_loaded("zlib")) print "skip zlib not present"; ?> +--INI-- +phar.require_hash=0 --FILE-- <?php $file = "<?php diff --git a/ext/phar/tests/017.phpt b/ext/phar/tests/017.phpt index 3f67df4885..1a50759255 100644 --- a/ext/phar/tests/017.phpt +++ b/ext/phar/tests/017.phpt @@ -2,6 +2,8 @@ Phar: opendir test - no dir specified at all --SKIPIF-- <?php if (!extension_loaded("phar")) print "skip"; ?> +--INI-- +phar.require_hash=0 --FILE-- <?php $file = "<?php diff --git a/ext/phar/tests/018.phpt b/ext/phar/tests/018.phpt index 83c733437a..3171271b0a 100644 --- a/ext/phar/tests/018.phpt +++ b/ext/phar/tests/018.phpt @@ -2,6 +2,8 @@ Phar: opendir test, root directory --SKIPIF-- <?php if (!extension_loaded("phar")) print "skip"; ?> +--INI-- +phar.require_hash=0 --FILE-- <?php $file = "<?php diff --git a/ext/phar/tests/019.phpt b/ext/phar/tests/019.phpt index 0e608a2ce8..dcaeedb07c 100644 --- a/ext/phar/tests/019.phpt +++ b/ext/phar/tests/019.phpt @@ -2,6 +2,8 @@ Phar: opendir test, subdirectory --SKIPIF-- <?php if (!extension_loaded("phar")) print "skip"; ?> +--INI-- +phar.require_hash=0 --FILE-- <?php $file = "<?php diff --git a/ext/phar/tests/019b.phpt b/ext/phar/tests/019b.phpt index f7b605f52c..95b0bd696a 100755 --- a/ext/phar/tests/019b.phpt +++ b/ext/phar/tests/019b.phpt @@ -2,6 +2,8 @@ Phar: opendir test, recurse into --SKIPIF-- <?php if (!extension_loaded("phar")) print "skip"; ?> +--INI-- +phar.require_hash=0 --FILE-- <?php $file = "<?php diff --git a/ext/phar/tests/019c.phpt b/ext/phar/tests/019c.phpt index c9f98efdf8..be82aa7bf4 100755 --- a/ext/phar/tests/019c.phpt +++ b/ext/phar/tests/019c.phpt @@ -2,6 +2,8 @@ Phar: opendir test, recurse into --SKIPIF-- <?php if (!extension_loaded("phar")) print "skip"; ?> +--INI-- +phar.require_hash=0 --FILE-- <?php $file = "<?php diff --git a/ext/phar/tests/020.phpt b/ext/phar/tests/020.phpt index a9cbbca7b2..15c55a7c85 100644 --- a/ext/phar/tests/020.phpt +++ b/ext/phar/tests/020.phpt @@ -2,6 +2,8 @@ Phar: url stat --SKIPIF-- <?php if (!extension_loaded("phar")) print "skip"; ?> +--INI-- +phar.require_hash=0 --FILE-- <?php $file = "<?php diff --git a/ext/phar/tests/021.phpt b/ext/phar/tests/021.phpt index 810a45a877..7ff9e1b9f9 100644 --- a/ext/phar/tests/021.phpt +++ b/ext/phar/tests/021.phpt @@ -2,6 +2,8 @@ Phar: stream stat --SKIPIF-- <?php if (!extension_loaded("phar")) print "skip"; ?> +--INI-- +phar.require_hash=0 --FILE-- <?php $file = "<?php diff --git a/ext/phar/tests/022.phpt b/ext/phar/tests/022.phpt index 5835640fa3..ae8b849965 100644 --- a/ext/phar/tests/022.phpt +++ b/ext/phar/tests/022.phpt @@ -2,6 +2,8 @@ Phar: stream stat --SKIPIF-- <?php if (!extension_loaded("phar")) print "skip"; ?> +--INI-- +phar.require_hash=0 --FILE-- <?php $file = "<?php diff --git a/ext/phar/tests/023.phpt b/ext/phar/tests/023.phpt index 6104c8719d..c7a21184c2 100755 --- a/ext/phar/tests/023.phpt +++ b/ext/phar/tests/023.phpt @@ -2,6 +2,8 @@ Phar: phar:// file_get_contents --SKIPIF-- <?php if (!extension_loaded("phar")) print "skip"; ?> +--INI-- +phar.require_hash=0 --FILE-- <?php $file = "<?php __HALT_COMPILER(); ?>"; diff --git a/ext/phar/tests/024.phpt b/ext/phar/tests/024.phpt index 243e70c6c8..97460669c1 100755 --- a/ext/phar/tests/024.phpt +++ b/ext/phar/tests/024.phpt @@ -2,6 +2,8 @@ Phar: phar:// include --SKIPIF-- <?php if (!extension_loaded("phar")) print "skip"; ?> +--INI-- +phar.require_hash=0 --FILE-- <?php $file = "<?php __HALT_COMPILER(); ?>"; diff --git a/ext/phar/tests/025.phpt b/ext/phar/tests/025.phpt index bf66256bdc..a591d59fee 100755 --- a/ext/phar/tests/025.phpt +++ b/ext/phar/tests/025.phpt @@ -2,6 +2,8 @@ Phar: phar:// include (repeated names) --SKIPIF-- <?php if (!extension_loaded("phar")) print "skip"; ?> +--INI-- +phar.require_hash=0 --FILE-- <?php $file = "<?php __HALT_COMPILER(); ?>"; diff --git a/ext/phar/tests/026.phpt b/ext/phar/tests/026.phpt index 9737c5f1fd..7eb2f90b67 100755 --- a/ext/phar/tests/026.phpt +++ b/ext/phar/tests/026.phpt @@ -2,6 +2,8 @@ Phar: phar:// require from within --SKIPIF-- <?php if (!extension_loaded("phar")) print "skip"; ?> +--INI-- +phar.require_hash=0 --FILE-- <?php $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php'; diff --git a/ext/phar/tests/027.phpt b/ext/phar/tests/027.phpt index 4322630b42..2640e2b453 100755 --- a/ext/phar/tests/027.phpt +++ b/ext/phar/tests/027.phpt @@ -2,6 +2,8 @@ Phar: phar:// opendir --SKIPIF-- <?php if (!extension_loaded("phar")) print "skip"; ?> +--INI-- +phar.require_hash=0 --FILE-- <?php $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php'; diff --git a/ext/phar/tests/028.phpt b/ext/phar/tests/028.phpt index 331ad4a240..723192ef50 100755 --- a/ext/phar/tests/028.phpt +++ b/ext/phar/tests/028.phpt @@ -2,6 +2,8 @@ Phar::loadPhar --SKIPIF-- <?php if (!extension_loaded("phar")) print "skip"; ?> +--INI-- +phar.require_hash=0 --FILE-- <?php $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php'; diff --git a/ext/phar/tests/029.phpt b/ext/phar/tests/029.phpt index 1bc9dcda35..bd7528537a 100755 --- a/ext/phar/tests/029.phpt +++ b/ext/phar/tests/029.phpt @@ -2,6 +2,8 @@ Phar::loadPhar overloading alias names --SKIPIF-- <?php if (!extension_loaded("phar")) print "skip"; ?> +--INI-- +phar.require_hash=0 --FILE-- <?php $fname1 = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.1.phar.php'; diff --git a/ext/phar/tests/030.phpt b/ext/phar/tests/030.phpt index 0ad1209193..0767e3997d 100755 --- a/ext/phar/tests/030.phpt +++ b/ext/phar/tests/030.phpt @@ -2,6 +2,8 @@ Phar::loadPhar ignoring alias --SKIPIF-- <?php if (!extension_loaded("phar")) print "skip"; ?> +--INI-- +phar.require_hash=0 --FILE-- <?php $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php'; diff --git a/ext/phar/tests/031.phpt b/ext/phar/tests/031.phpt index 94a895e37f..f3faa93d8e 100755 --- a/ext/phar/tests/031.phpt +++ b/ext/phar/tests/031.phpt @@ -2,6 +2,8 @@ Phar: include and parser error --SKIPIF-- <?php if (!extension_loaded("phar")) print "skip"; ?> +--INI-- +phar.require_hash=0 --FILE-- <?php diff --git a/ext/phar/tests/032.phpt b/ext/phar/tests/032.phpt new file mode 100755 index 0000000000..f8b8b97368 --- /dev/null +++ b/ext/phar/tests/032.phpt @@ -0,0 +1,25 @@ +--TEST-- +Phar: require hash +--SKIPIF-- +<?php if (!extension_loaded("phar")) print "skip"; ?> +--INI-- +phar.require_hash=1 +--FILE-- +<?php + +$pharconfig = 0; + +require_once 'phar_oo_test.inc'; + +Phar::loadPhar($fname); + +?> +===DONE=== +--CLEAN-- +<?php +unlink(dirname(__FILE__) . '/phar_oo_test.phar.php'); +__halt_compiler(); +?> +--EXPECTF-- + +Catchable fatal error: Phar::loadPhar(): phar "%sphar_oo_test.phar.php" does not have a signature in %s032.php on line %d diff --git a/ext/phar/tests/create_new_phar.phpt b/ext/phar/tests/create_new_phar.phpt index fe00960a74..2781f0c7bf 100644 --- a/ext/phar/tests/create_new_phar.phpt +++ b/ext/phar/tests/create_new_phar.phpt @@ -4,6 +4,7 @@ Phar: create a completely new phar <?php if (!extension_loaded("phar")) print "skip"; ?> --INI-- phar.readonly=0 +phar.require_hash=1 --FILE-- <?php diff --git a/ext/phar/tests/create_new_phar_b.phpt b/ext/phar/tests/create_new_phar_b.phpt index c402bba8aa..74045ef411 100755 --- a/ext/phar/tests/create_new_phar_b.phpt +++ b/ext/phar/tests/create_new_phar_b.phpt @@ -4,6 +4,7 @@ Phar: create a completely new phar <?php if (!extension_loaded("phar")) print "skip"; ?> --INI-- phar.readonly=1 +phar.require_hash=1 --FILE-- <?php diff --git a/ext/phar/tests/delete_in_phar.phpt b/ext/phar/tests/delete_in_phar.phpt index 6fa4bf1448..1a00893cc5 100644 --- a/ext/phar/tests/delete_in_phar.phpt +++ b/ext/phar/tests/delete_in_phar.phpt @@ -4,6 +4,7 @@ Phar: delete a file within a .phar <?php if (!extension_loaded("phar")) print "skip"; ?> --INI-- phar.readonly=0 +phar.require_hash=0 --FILE-- <?php $file = "<?php __HALT_COMPILER(); ?>"; diff --git a/ext/phar/tests/delete_in_phar_b.phpt b/ext/phar/tests/delete_in_phar_b.phpt index c90dd10120..ba18174bbf 100755 --- a/ext/phar/tests/delete_in_phar_b.phpt +++ b/ext/phar/tests/delete_in_phar_b.phpt @@ -4,6 +4,7 @@ Phar: delete a file within a .phar <?php if (!extension_loaded("phar")) print "skip"; ?> --INI-- phar.readonly=1 +phar.require_hash=0 --FILE-- <?php $file = "<?php __HALT_COMPILER(); ?>"; diff --git a/ext/phar/tests/delete_in_phar_confirm.phpt b/ext/phar/tests/delete_in_phar_confirm.phpt index 7e8d048533..69a802fad2 100644 --- a/ext/phar/tests/delete_in_phar_confirm.phpt +++ b/ext/phar/tests/delete_in_phar_confirm.phpt @@ -4,6 +4,7 @@ Phar: delete a file within a .phar (confirm disk file is changed) <?php if (!extension_loaded("phar")) print "skip"; ?> --INI-- phar.readonly=0 +phar.require_hash=0 --FILE-- <?php $file = "<?php __HALT_COMPILER(); ?>"; diff --git a/ext/phar/tests/open_for_write_existing.phpt b/ext/phar/tests/open_for_write_existing.phpt index b789e941a1..93a1539e93 100644 --- a/ext/phar/tests/open_for_write_existing.phpt +++ b/ext/phar/tests/open_for_write_existing.phpt @@ -4,6 +4,7 @@ Phar: fopen a .phar for writing (existing file) <?php if (!extension_loaded("phar")) print "skip"; ?> --INI-- phar.readonly=0 +phar.require_hash=0 --FILE-- <?php $file = "<?php __HALT_COMPILER(); ?>"; diff --git a/ext/phar/tests/open_for_write_existing_b.phpt b/ext/phar/tests/open_for_write_existing_b.phpt index 1c3e21199f..26631f4864 100755 --- a/ext/phar/tests/open_for_write_existing_b.phpt +++ b/ext/phar/tests/open_for_write_existing_b.phpt @@ -4,6 +4,7 @@ Phar: fopen a .phar for writing (existing file) <?php if (!extension_loaded("phar")) print "skip"; ?> --INI-- phar.readonly=1 +phar.require_hash=0 --FILE-- <?php $file = "<?php __HALT_COMPILER(); ?>"; diff --git a/ext/phar/tests/open_for_write_newfile.phpt b/ext/phar/tests/open_for_write_newfile.phpt index 585ac80240..5d6922945c 100644 --- a/ext/phar/tests/open_for_write_newfile.phpt +++ b/ext/phar/tests/open_for_write_newfile.phpt @@ -4,6 +4,7 @@ Phar: fopen a .phar for writing (new file) <?php if (!extension_loaded("phar")) print "skip"; ?> --INI-- phar.readonly=0 +phar.require_hash=0 --FILE-- <?php $file = "<?php __HALT_COMPILER(); ?>"; diff --git a/ext/phar/tests/open_for_write_newfile_b.phpt b/ext/phar/tests/open_for_write_newfile_b.phpt index 0c4bd13f7d..38618de80e 100755 --- a/ext/phar/tests/open_for_write_newfile_b.phpt +++ b/ext/phar/tests/open_for_write_newfile_b.phpt @@ -4,6 +4,7 @@ Phar: fopen a .phar for writing (new file) <?php if (!extension_loaded("phar")) print "skip"; ?> --INI-- phar.readonly=1 +phar.require_hash=0 --FILE-- <?php $file = "<?php __HALT_COMPILER(); ?>"; diff --git a/ext/phar/tests/phar_oo_001.phpt b/ext/phar/tests/phar_oo_001.phpt index 8240969a2b..90cf3e991d 100755 --- a/ext/phar/tests/phar_oo_001.phpt +++ b/ext/phar/tests/phar_oo_001.phpt @@ -2,6 +2,8 @@ Phar object: basics --SKIPIF-- <?php if (!extension_loaded("phar")) print "skip"; ?> +--INI-- +phar.require_hash=0 --FILE-- <?php diff --git a/ext/phar/tests/phar_oo_002.phpt b/ext/phar/tests/phar_oo_002.phpt index f937f4b9e2..ca798c958c 100755 --- a/ext/phar/tests/phar_oo_002.phpt +++ b/ext/phar/tests/phar_oo_002.phpt @@ -2,6 +2,8 @@ Phar object: iterator & entries --SKIPIF-- <?php if (!extension_loaded("phar")) print "skip"; ?> +--INI-- +phar.require_hash=0 --FILE-- <?php diff --git a/ext/phar/tests/phar_oo_003.phpt b/ext/phar/tests/phar_oo_003.phpt index 838d599a0f..c9b5098eff 100755 --- a/ext/phar/tests/phar_oo_003.phpt +++ b/ext/phar/tests/phar_oo_003.phpt @@ -2,6 +2,8 @@ Phar object: entry & openFile() --SKIPIF-- <?php if (!extension_loaded("phar")) print "skip"; ?> +--INI-- +phar.require_hash=0 --FILE-- <?php diff --git a/ext/phar/tests/phar_oo_004.phpt b/ext/phar/tests/phar_oo_004.phpt index 561ff5f093..5d8768ca8b 100755 --- a/ext/phar/tests/phar_oo_004.phpt +++ b/ext/phar/tests/phar_oo_004.phpt @@ -2,6 +2,8 @@ Phar and DirectoryIteraotr --SKIPIF-- <?php if (!extension_loaded("phar")) print "skip"; ?> +--INI-- +phar.require_hash=0 --FILE-- <?php diff --git a/ext/phar/tests/phar_oo_005.phpt b/ext/phar/tests/phar_oo_005.phpt index 167bee73ad..6eb2ec1d5b 100755 --- a/ext/phar/tests/phar_oo_005.phpt +++ b/ext/phar/tests/phar_oo_005.phpt @@ -2,6 +2,8 @@ Phar and RecursiveDirectoryIterator --SKIPIF-- <?php if (!extension_loaded("phar")) print "skip"; ?> +--INI-- +phar.require_hash=0 --FILE-- <?php diff --git a/ext/phar/tests/phar_oo_006.phpt b/ext/phar/tests/phar_oo_006.phpt index ec6e8f4afd..6459bb9f6d 100755 --- a/ext/phar/tests/phar_oo_006.phpt +++ b/ext/phar/tests/phar_oo_006.phpt @@ -2,6 +2,8 @@ Phar object: array access --SKIPIF-- <?php if (!extension_loaded("phar")) print "skip"; ?> +--INI-- +phar.require_hash=0 --FILE-- <?php diff --git a/ext/phar/tests/phar_oo_007.phpt b/ext/phar/tests/phar_oo_007.phpt index 6a2565220a..48f1b90864 100755 --- a/ext/phar/tests/phar_oo_007.phpt +++ b/ext/phar/tests/phar_oo_007.phpt @@ -2,6 +2,8 @@ Phar object: access through SplFileObject --SKIPIF-- <?php if (!extension_loaded("phar")) print "skip"; ?> +--INI-- +phar.require_hash=0 --FILE-- <?php diff --git a/ext/phar/tests/phar_oo_008.phpt b/ext/phar/tests/phar_oo_008.phpt index 8b0777ecce..6db2e8606b 100755 --- a/ext/phar/tests/phar_oo_008.phpt +++ b/ext/phar/tests/phar_oo_008.phpt @@ -2,6 +2,8 @@ Phar object: iterating via SplFileObject --SKIPIF-- <?php if (!extension_loaded("phar")) print "skip"; ?> +--INI-- +phar.require_hash=0 --FILE-- <?php diff --git a/ext/phar/tests/phar_oo_009.phpt b/ext/phar/tests/phar_oo_009.phpt index f8f5d3d122..a38b1018ac 100755 --- a/ext/phar/tests/phar_oo_009.phpt +++ b/ext/phar/tests/phar_oo_009.phpt @@ -3,6 +3,8 @@ Phar object: iterating via SplFileObject and reading csv --SKIPIF-- <?php if (!extension_loaded('phar')) die('skip'); ?> <?php if (!defined('SplFileObject::READ_CSV') || !defined('SplFileObject::SKIP_EMPTY')) die('skip newer SPL version is required'); ?> +--INI-- +phar.require_hash=0 --FILE-- <?php diff --git a/ext/phar/tests/phar_oo_010.phpt b/ext/phar/tests/phar_oo_010.phpt index f1ace6a365..86c21017e2 100755 --- a/ext/phar/tests/phar_oo_010.phpt +++ b/ext/phar/tests/phar_oo_010.phpt @@ -2,6 +2,8 @@ Phar object: ArrayAccess and isset --SKIPIF-- <?php if (!extension_loaded('phar')) die('skip'); ?> +--INI-- +phar.require_hash=0 --FILE-- <?php diff --git a/ext/phar/tests/phar_oo_011.phpt b/ext/phar/tests/phar_oo_011.phpt index fbaccb03ad..ad9e9c4179 100644 --- a/ext/phar/tests/phar_oo_011.phpt +++ b/ext/phar/tests/phar_oo_011.phpt @@ -4,6 +4,7 @@ Phar object: add file <?php if (!extension_loaded('phar')) die('skip'); ?> --INI-- phar.readonly=0 +phar.require_hash=0 --FILE-- <?php diff --git a/ext/phar/tests/phar_oo_011b.phpt b/ext/phar/tests/phar_oo_011b.phpt index cc63080172..9ea22246cc 100755 --- a/ext/phar/tests/phar_oo_011b.phpt +++ b/ext/phar/tests/phar_oo_011b.phpt @@ -4,6 +4,7 @@ Phar object: add file <?php if (!extension_loaded('phar')) die('skip'); ?> --INI-- phar.readonly=1 +phar.require_hash=0 --FILE-- <?php diff --git a/ext/phar/tests/phar_oo_012.phpt b/ext/phar/tests/phar_oo_012.phpt index 3b6f2cfe3b..a7b013529d 100644 --- a/ext/phar/tests/phar_oo_012.phpt +++ b/ext/phar/tests/phar_oo_012.phpt @@ -4,6 +4,7 @@ Phar object: unset file <?php if (!extension_loaded('phar')) die('skip'); ?> --INI-- phar.readonly=0 +phar.require_hash=0 --FILE-- <?php diff --git a/ext/phar/tests/phar_oo_012_confirm.phpt b/ext/phar/tests/phar_oo_012_confirm.phpt index cd429ab775..2c194e8afd 100644 --- a/ext/phar/tests/phar_oo_012_confirm.phpt +++ b/ext/phar/tests/phar_oo_012_confirm.phpt @@ -4,6 +4,7 @@ Phar object: unset file (confirm disk file is changed) <?php if (!extension_loaded('phar')) die('skip'); ?> --INI-- phar.readonly=0 +phar.require_hash=0 --FILE-- <?php diff --git a/ext/phar/tests/phar_oo_012b.phpt b/ext/phar/tests/phar_oo_012b.phpt index 574698e3fe..648d8ce198 100755 --- a/ext/phar/tests/phar_oo_012b.phpt +++ b/ext/phar/tests/phar_oo_012b.phpt @@ -4,6 +4,7 @@ Phar object: unset file <?php if (!extension_loaded('phar')) die('skip'); ?> --INI-- phar.readonly=1 +phar.require_hash=0 --FILE-- <?php |