jeraimee Tue, 17 May 2011 15:08:15 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=311141
Log:
Fixes for broken tests.
Changed paths:
U php/php-src/trunk/ext/mcrypt/tests/bug46010.phpt
U php/php-src/trunk/tests/security/open_basedir_linkinfo.phpt
Modified: php/php-src/trunk/ext/mcrypt/tests/bug46010.phpt
===================================================================
--- php/php-src/trunk/ext/mcrypt/tests/bug46010.phpt 2011-05-17 15:06:48 UTC
(rev 311140)
+++ php/php-src/trunk/ext/mcrypt/tests/bug46010.phpt 2011-05-17 15:08:15 UTC
(rev 311141)
@@ -1,5 +1,7 @@
--TEST--
Bug #46010 (warnings incorrectly generated for iv in ecb mode)
+--SKIPIF--
+<?php if (!extension_loaded("mcrypt")) print "skip"; ?>
--FILE--
<?php
Modified: php/php-src/trunk/tests/security/open_basedir_linkinfo.phpt
===================================================================
--- php/php-src/trunk/tests/security/open_basedir_linkinfo.phpt 2011-05-17
15:06:48 UTC (rev 311140)
+++ php/php-src/trunk/tests/security/open_basedir_linkinfo.phpt 2011-05-17
15:08:15 UTC (rev 311141)
@@ -57,8 +57,6 @@
Warning: symlink(): open_basedir restriction in effect.
File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on line
%d
bool(false)
int(%d)
-
-Warning: unlink(): open_basedir restriction in effect.
File(%s/test/ok/symlink.txt) is not within the allowed path(s): (.) in %s on
line %d
-bool(false)
+bool(true)
*** Finished testing open_basedir configuration [linkinfo] ***
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php