cellog          Sun Mar  1 06:50:38 2009 UTC

  Modified files:              
    /php-src/ext/phar/tests     front.phar.phpt 
                                phar_get_supported_signatures_002.phpt 
  Log:
  MFB: fix SKIPIF, EXPECT in 2 tests
  
http://cvs.php.net/viewvc.cgi/php-src/ext/phar/tests/front.phar.phpt?r1=1.3&r2=1.4&diff_format=u
Index: php-src/ext/phar/tests/front.phar.phpt
diff -u php-src/ext/phar/tests/front.phar.phpt:1.3 
php-src/ext/phar/tests/front.phar.phpt:1.4
--- php-src/ext/phar/tests/front.phar.phpt:1.3  Fri Aug  1 13:36:18 2008
+++ php-src/ext/phar/tests/front.phar.phpt      Sun Mar  1 06:50:38 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.4&r2=1.5&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.4 
php-src/ext/phar/tests/phar_get_supported_signatures_002.phpt:1.5
--- php-src/ext/phar/tests/phar_get_supported_signatures_002.phpt:1.4   Sun Aug 
31 20:54:27 2008
+++ php-src/ext/phar/tests/phar_get_supported_signatures_002.phpt       Sun Mar 
 1 06:50:38 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



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to