svn: /php/php-src/ branches/PHP_5_3/ext/mcrypt/tests/bug43143.phpt branches/PHP_5_4/ext/mcrypt/tests/bug43143.phpt
trunk/ext/mcrypt/tests/bug43143.phpt
| From: | Pierre Joye | Date: | Thu, 08 Sep 2011 10:00:47 +0000 |
| Subject: | svn: /php/php-src/ branches/PHP_5_3/ext/mcrypt/tests/bug43143.phpt branches/PHP_5_4/ext/mcrypt/tests/bug43143.phpt trunk/ext/mcrypt/tests/bug43143.phpt |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-66373@lists.php.net to get a copy of this message | ||
pajoye Thu, 08 Sep 2011 10:00:47 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=316407
Log:
- skip if no hash
Changed paths:
U php/php-src/branches/PHP_5_3/ext/mcrypt/tests/bug43143.phpt
U php/php-src/branches/PHP_5_4/ext/mcrypt/tests/bug43143.phpt
U php/php-src/trunk/ext/mcrypt/tests/bug43143.phpt
Modified: php/php-src/branches/PHP_5_3/ext/mcrypt/tests/bug43143.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/mcrypt/tests/bug43143.phpt 2011-09-08 09:27:47 UTC (rev 316406)
+++ php/php-src/branches/PHP_5_3/ext/mcrypt/tests/bug43143.phpt 2011-09-08 10:00:47 UTC (rev 316407)
@@ -1,7 +1,8 @@
--TEST--
Bug #43143 (Warning about empty IV with MCRYPT_MODE_ECB)
--SKIPIF--
-<?php if (!extension_loaded("mcrypt")) print "skip"; ?>
+<?php if (!extension_loaded("mcrypt")) print "skip";
+if (!extension_loaded("hash")) print "skip"; ?>
--FILE--
<?php
echo "ECB\n";
Modified: php/php-src/branches/PHP_5_4/ext/mcrypt/tests/bug43143.phpt
===================================================================
--- php/php-src/branches/PHP_5_4/ext/mcrypt/tests/bug43143.phpt 2011-09-08 09:27:47 UTC (rev 316406)
+++ php/php-src/branches/PHP_5_4/ext/mcrypt/tests/bug43143.phpt 2011-09-08 10:00:47 UTC (rev 316407)
@@ -1,7 +1,8 @@
--TEST--
Bug #43143 (Warning about empty IV with MCRYPT_MODE_ECB)
--SKIPIF--
-<?php if (!extension_loaded("mcrypt")) print "skip"; ?>
+<?php if (!extension_loaded("mcrypt")) print "skip";
+if (!extension_loaded("hash")) print "skip"; ?>
--FILE--
<?php
echo "ECB\n";
Modified: php/php-src/trunk/ext/mcrypt/tests/bug43143.phpt
===================================================================
--- php/php-src/trunk/ext/mcrypt/tests/bug43143.phpt 2011-09-08 09:27:47 UTC (rev 316406)
+++ php/php-src/trunk/ext/mcrypt/tests/bug43143.phpt 2011-09-08 10:00:47 UTC (rev 316407)
@@ -1,7 +1,8 @@
--TEST--
Bug #43143 (Warning about empty IV with MCRYPT_MODE_ECB)
--SKIPIF--
-<?php if (!extension_loaded("mcrypt")) print "skip"; ?>
+<?php if (!extension_loaded("mcrypt")) print "skip";
+if (!extension_loaded("hash")) print "skip"; ?>
--FILE--
<?php
echo "ECB\n";