tony2001 Wed Apr 18 08:06:29 2007 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/dba/tests dba007.phpt
/php-src/ext/spl/tests iterator_044.phpt
/php-src/ext/mcrypt/tests bug35496.phpt
/php-src/ext/pdo_mysql/tests bug_37445.phpt
/php-src/tests/classes abstract_static.phpt
Log:
win32 test fixes
http://cvs.php.net/viewvc.cgi/php-src/ext/dba/tests/dba007.phpt?r1=1.4&r2=1.4.6.1&diff_format=u
Index: php-src/ext/dba/tests/dba007.phpt
diff -u php-src/ext/dba/tests/dba007.phpt:1.4
php-src/ext/dba/tests/dba007.phpt:1.4.6.1
--- php-src/ext/dba/tests/dba007.phpt:1.4 Thu Jun 19 15:48:06 2003
+++ php-src/ext/dba/tests/dba007.phpt Wed Apr 18 08:06:29 2007
@@ -37,9 +37,9 @@
database file created
array(3) {
[%d]=>
- string(%d) "%s/dba/tests/test0.dbm"
+ string(%d) "%stest0.dbm"
[%d]=>
- string(%d) "%s/dba/tests/test1.dbm"
+ string(%d) "%stest1.dbm"
[%d]=>
- string(%d) "%s/dba/tests/test2.dbm"
-}
\ No newline at end of file
+ string(%d) "%stest2.dbm"
+}
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/tests/iterator_044.phpt?r1=1.1.2.2&r2=1.1.2.3&diff_format=u
Index: php-src/ext/spl/tests/iterator_044.phpt
diff -u php-src/ext/spl/tests/iterator_044.phpt:1.1.2.2
php-src/ext/spl/tests/iterator_044.phpt:1.1.2.3
--- php-src/ext/spl/tests/iterator_044.phpt:1.1.2.2 Sun May 21 18:13:37 2006
+++ php-src/ext/spl/tests/iterator_044.phpt Wed Apr 18 08:06:29 2007
@@ -76,10 +76,10 @@
Notice: Undefined index: 0 in %siterator_044.php on line %d
Exception: MyCachingIterator does not use a full cache (see
CachingIterator::__construct)
-Warning: CachingIterator::offsetExists() expects exactly 1 parameter, 0 given
in %s/iterator_044.php on line %d
+Warning: CachingIterator::offsetExists() expects exactly 1 parameter, 0 given
in %siterator_044.php on line %d
NULL
-Warning: CachingIterator::offsetGet() expects exactly 1 parameter, 0 given in
%s/iterator_044.php on line %d
+Warning: CachingIterator::offsetGet() expects exactly 1 parameter, 0 given in
%siterator_044.php on line %d
NULL
===0===
int(0)
http://cvs.php.net/viewvc.cgi/php-src/ext/mcrypt/tests/bug35496.phpt?r1=1.1.2.1&r2=1.1.2.1.2.1&diff_format=u
Index: php-src/ext/mcrypt/tests/bug35496.phpt
diff -u php-src/ext/mcrypt/tests/bug35496.phpt:1.1.2.1
php-src/ext/mcrypt/tests/bug35496.phpt:1.1.2.1.2.1
--- php-src/ext/mcrypt/tests/bug35496.phpt:1.1.2.1 Wed Nov 30 23:51:25 2005
+++ php-src/ext/mcrypt/tests/bug35496.phpt Wed Apr 18 08:06:29 2007
@@ -9,6 +9,6 @@
mdecrypt_generic($td, "baz");
?>
--EXPECTF--
-Warning: mcrypt_generic(): Operation disallowed prior to
mcrypt_generic_init(). in %s/bug35496.php on line 3
+Warning: mcrypt_generic(): Operation disallowed prior to
mcrypt_generic_init(). in %sbug35496.php on line 3
-Warning: mdecrypt_generic(): Operation disallowed prior to
mcrypt_generic_init(). in %s/bug35496.php on line 4
+Warning: mdecrypt_generic(): Operation disallowed prior to
mcrypt_generic_init(). in %sbug35496.php on line 4
http://cvs.php.net/viewvc.cgi/php-src/ext/pdo_mysql/tests/bug_37445.phpt?r1=1.1.2.2&r2=1.1.2.3&diff_format=u
Index: php-src/ext/pdo_mysql/tests/bug_37445.phpt
diff -u php-src/ext/pdo_mysql/tests/bug_37445.phpt:1.1.2.2
php-src/ext/pdo_mysql/tests/bug_37445.phpt:1.1.2.3
--- php-src/ext/pdo_mysql/tests/bug_37445.phpt:1.1.2.2 Tue Dec 12 08:13:31 2006
+++ php-src/ext/pdo_mysql/tests/bug_37445.phpt Wed Apr 18 08:06:29 2007
@@ -16,5 +16,6 @@
$stmt = $db->prepare("SELECT 1");
$stmt->bindParam(':a', 'b');
+?>
--EXPECTF--
-Fatal error: Cannot pass parameter 2 by reference in %s/bug_37445.php on line
%d
+Fatal error: Cannot pass parameter 2 by reference in %sbug_37445.php on line %d
http://cvs.php.net/viewvc.cgi/php-src/tests/classes/abstract_static.phpt?r1=1.3.6.3&r2=1.3.6.4&diff_format=u
Index: php-src/tests/classes/abstract_static.phpt
diff -u php-src/tests/classes/abstract_static.phpt:1.3.6.3
php-src/tests/classes/abstract_static.phpt:1.3.6.4
--- php-src/tests/classes/abstract_static.phpt:1.3.6.3 Fri Oct 20 02:44:26 2006
+++ php-src/tests/classes/abstract_static.phpt Wed Apr 18 08:06:29 2007
@@ -31,6 +31,6 @@
--EXPECTF--
Call to function show()
-Strict Standards: Static function fail::func() should not be abstract in
%stests/classes/abstract_static.php(%d) : eval()'d code on line %d
+Strict Standards: Static function fail::func() should not be abstract in
%sabstract_static.php(%d) : eval()'d code on line %d
-Fatal error: Class fail contains 1 abstract method and must therefore be
declared abstract or implement the remaining methods (fail::func) in
%s/tests/classes/abstract_static.php(%d) : eval()'d code on line %d
+Fatal error: Class fail contains 1 abstract method and must therefore be
declared abstract or implement the remaining methods (fail::func) in
%sabstract_static.php(%d) : eval()'d code on line %d
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php