cvs: php-src(PHP_5_3) /ext/phar/tests front.phar.phpt phar_get_supported_signatures_002.phpt
| From: | Greg Beaver | Date: | Sun, 01 Mar 2009 06:50:26 +0000 |
| Subject: | cvs: php-src(PHP_5_3) /ext/phar/tests front.phar.phpt phar_get_supported_signatures_002.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-56392@lists.php.net to get a copy of this message | ||
cellog Sun Mar 1 06:50:26 2009 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/phar/tests front.phar.phpt
phar_get_supported_signatures_002.phpt
Log:
fix SKIPIF, EXPECT in 2 tests
http://cvs.php.net/viewvc.cgi/php-src/ext/phar/tests/front.phar.phpt?r1=1.1.2.3&r2=1.1.2.4&diff_format=u
Index: php-src/ext/phar/tests/front.phar.phpt
diff -u php-src/ext/phar/tests/front.phar.phpt:1.1.2.3
php-src/ext/phar/tests/front.phar.phpt:1.1.2.4
--- php-src/ext/phar/tests/front.phar.phpt:1.1.2.3 Fri Aug 1 13:38:46 2008
+++ php-src/ext/phar/tests/front.phar.phpt Sun Mar 1 06:50:26 2009
@@ -12,8 +12,8 @@
Content-type: text/html; charset=UTF-8
--FILE_EXTERNAL--
files/blog.phar
---EXPECT--
-string(167) "<xml version="1.0" encoding="UTF-8">
+--EXPECTF--
+string(%d) "<xml version="1.0" encoding="UTF-8">
<config>
<database>
<host>localhost</name>
http://cvs.php.net/viewvc.cgi/php-src/ext/phar/tests/phar_get_supported_signatures_002.phpt?r1=1.2.2.3&r2=1.2.2.4&diff_format=u
Index: php-src/ext/phar/tests/phar_get_supported_signatures_002.phpt
diff -u php-src/ext/phar/tests/phar_get_supported_signatures_002.phpt:1.2.2.3
php-src/ext/phar/tests/phar_get_supported_signatures_002.phpt:1.2.2.4
--- php-src/ext/phar/tests/phar_get_supported_signatures_002.phpt:1.2.2.3 Sun Aug 31 19:18:35 2008
+++ php-src/ext/phar/tests/phar_get_supported_signatures_002.phpt Sun Mar 1 06:50:26 2009
@@ -5,7 +5,7 @@
if (!extension_loaded("phar")) die("skip");
if (!extension_loaded("hash")) die("skip extension hash required");
$arr = Phar::getSupportedSignatures();
-if (in_array("OpenSSL", $arr)) die ("skip openssl support enabled");
+if (!in_array('SHA-256', $arr)) die("skip hash extension loaded shared");
?>
--INI--
phar.require_hash=0