]> granicus.if.org Git - php/commitdiff
win32 test fixes
authorAntony Dovgal <tony2001@php.net>
Wed, 18 Apr 2007 08:06:29 +0000 (08:06 +0000)
committerAntony Dovgal <tony2001@php.net>
Wed, 18 Apr 2007 08:06:29 +0000 (08:06 +0000)
ext/dba/tests/dba007.phpt
ext/mcrypt/tests/bug35496.phpt
ext/pdo_mysql/tests/bug_37445.phpt
ext/spl/tests/iterator_044.phpt
tests/classes/abstract_static.phpt

index 577dacc68c1538a704475ead3292a0eafbb4d950..cc84a729c3245f3859ea4eb4f9d90956b0ef54ac 100644 (file)
@@ -37,9 +37,9 @@ database file created
 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"
+}
index 9d94ba4ca9251dfac8064bf37c8ded3701caa98c..3add65e02d1eb19d134b3651a9273b94fd1c82fb 100644 (file)
@@ -9,6 +9,6 @@ mcrypt_generic($td, "foobar");
 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
index 0435fa7388506d6f4b83ce0ec063cd4bb549168b..524a3d0807a296149859a1abec8d8fef204bc8e3 100644 (file)
@@ -16,5 +16,6 @@ $db->setAttribute(PDO :: ATTR_EMULATE_PREPARES, true);
 $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
index e25e0d1dda32026d583a7efb5a946f699c91a03c..d3c625314f5ca593a118ed5c0d5c2751f4d2c4f0 100755 (executable)
@@ -76,10 +76,10 @@ Exception: MyCachingIterator does not use a full cache (see CachingIterator::__c
 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)
index f25d7cff4778ab444fc977df3be7e3ea41a60f00..bcebec599f05e865733b7ed4f8a87e239b35526c 100644 (file)
@@ -31,6 +31,6 @@ echo "Done\n"; // shouldn't be displayed
 --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