com php-src: fix remaining tests for Opcache runs: ext/phar/tes ts/tar/phar_commitwrite.phpt ext/phar/tests/tar/phar_se tsignaturealgo2.phpt
ext/phar/tests/zip/phar_commitwrit e.phpt
| From: | Anatol Belski | Date: | Fri, 13 Jan 2017 16:16:15 +0000 |
| Subject: | com php-src: fix remaining tests for Opcache runs: ext/phar/tes ts/tar/phar_commitwrite.phpt ext/phar/tests/tar/phar_se tsignaturealgo2.phpt ext/phar/tests/zip/phar_commitwrit e.phpt |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-96719@lists.php.net to get a copy of this message | ||
Commit: aaaef22db657953b8cec679e7a492c0c9ec7d95a
Author: Anatol Belski <ab@php.net> Fri, 13 Jan 2017 17:16:15 +0100
Parents: 8e993b427ccc5e410ab95f9d1079965862b14969
Branches: PHP-7.0 PHP-7.1 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=aaaef22db657953b8cec679e7a492c0c9ec7d95a
Log:
fix remaining tests for Opcache runs
The fail reason here is the TMP change while both top and test
run same binary with opcache enabled.
Changed paths:
M ext/phar/tests/tar/phar_commitwrite.phpt
M ext/phar/tests/tar/phar_setsignaturealgo2.phpt
M ext/phar/tests/zip/phar_commitwrite.phpt
Diff:
diff --git a/ext/phar/tests/tar/phar_commitwrite.phpt b/ext/phar/tests/tar/phar_commitwrite.phpt
index 262ea1d..bfbac61 100644
--- a/ext/phar/tests/tar/phar_commitwrite.phpt
+++ b/ext/phar/tests/tar/phar_commitwrite..phpt
@@ -5,9 +5,6 @@ Phar::setStub()/stopBuffering() tar-based
--INI--
phar.require_hash=0
phar.readonly=0
---ENV--
-TEMP=.
-TMP=.
--FILE--
<?php
$p = new Phar(dirname(__FILE__) . '/brandnewphar.phar.tar', 0,
'brandnewphar.phar');
diff --git a/ext/phar/tests/tar/phar_setsignaturealgo2.phpt
b/ext/phar/tests/tar/phar_setsignaturealgo2.phpt
index b68bbf6..c16e752 100644
--- a/ext/phar/tests/tar/phar_setsignaturealgo2.phpt
+++ b/ext/phar/tests/tar/phar_setsignaturealgo2.phpt
@@ -9,9 +9,6 @@ if (!in_array('SHA-256', $arr)) die("skip hash extension loaded
shared"); ?>
--INI--
phar.require_hash=0
phar.readonly=0
---ENV--
-TEMP=.
-TMP=.
--FILE--
<?php
$fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') .
'.phar.tar';
diff --git a/ext/phar/tests/zip/phar_commitwrite.phpt b/ext/phar/tests/zip/phar_commitwrite.phpt
index 4e18a6b..eb3aeae 100644
--- a/ext/phar/tests/zip/phar_commitwrite.phpt
+++ b/ext/phar/tests/zip/phar_commitwrite.phpt
@@ -5,9 +5,6 @@ Phar::setStub()/stopBuffering() zip-based
--INI--
phar.require_hash=0
phar.readonly=0
---ENV--
-TEMP=.
-TMP=.
--FILE--
<?php
$p = new Phar(dirname(__FILE__) . '/brandnewphar.phar.zip', 0,
'brandnewphar.phar');