cvs: php-src(PHP_5_2) /ext/pdo_mysql/tests bug_33689.phpt common.phpt last_insert_id.phpt pecl_bug_5200.phpt pecl_bug_5780.phpt pecl_bug_5802.phpt
show_tables.phpt
| From: | Ilia Alshanetsky | Date: | Mon, 31 Jul 2006 20:14:41 +0000 |
| Subject: | cvs: php-src(PHP_5_2) /ext/pdo_mysql/tests bug_33689.phpt common.phpt last_insert_id.phpt pecl_bug_5200.phpt pecl_bug_5780.phpt pecl_bug_5802.phpt show_tables.phpt |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-39678@lists.php.net to get a copy of this message | ||
iliaa Mon Jul 31 20:14:41 2006 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/pdo_mysql/tests bug_33689.phpt common.phpt
last_insert_id.phpt pecl_bug_5200.phpt
pecl_bug_5780.phpt pecl_bug_5802.phpt
show_tables.phpt
Log:
Fixed tests from being always skipped.
http://cvs.php.net/viewvc.cgi/php-src/ext/pdo_mysql/tests/bug_33689.phpt?r1=1.1.2.2&r2=1.1.2.2.2.1&diff_format=u
Index: php-src/ext/pdo_mysql/tests/bug_33689.phpt
diff -u php-src/ext/pdo_mysql/tests/bug_33689.phpt:1.1.2.2
php-src/ext/pdo_mysql/tests/bug_33689.phpt:1.1.2.2.2.1
--- php-src/ext/pdo_mysql/tests/bug_33689.phpt:1.1.2.2 Tue Oct 18 00:06:20 2005
+++ php-src/ext/pdo_mysql/tests/bug_33689.phpt Mon Jul 31 20:14:40 2006
@@ -5,10 +5,12 @@
if (!extension_loaded('pdo') || !extension_loaded('pdo_mysql')) die('skip
not loaded');
require dirname(__FILE__) . '/config.inc';
require dirname(__FILE__) . '/../../../ext/pdo/tests/pdo_test.inc';
+$db = PDOTest::test_factory(dirname(__FILE__) . '/common.phpt');
PDOTest::skip();
?>
--FILE--
<?php
+require dirname(__FILE__) . '/config.inc';
require dirname(__FILE__) . '/../../../ext/pdo/tests/pdo_test.inc';
$db = PDOTest::test_factory(dirname(__FILE__) . '/common.phpt');
http://cvs.php.net/viewvc.cgi/php-src/ext/pdo_mysql/tests/common.phpt?r1=1.1.2.1&r2=1.1.2.1.2.1&diff_format=u
Index: php-src/ext/pdo_mysql/tests/common.phpt
diff -u php-src/ext/pdo_mysql/tests/common.phpt:1.1.2.1
php-src/ext/pdo_mysql/tests/common.phpt:1.1.2.1.2.1
--- php-src/ext/pdo_mysql/tests/common.phpt:1.1.2.1 Thu Aug 11 23:45:22 2005
+++ php-src/ext/pdo_mysql/tests/common.phpt Mon Jul 31 20:14:40 2006
@@ -22,7 +22,7 @@
} else {
$config['ENV']['PDOTEST_DSN'] = 'mysql:host=localhost;dbname=test';
$config['ENV']['PDOTEST_USER'] = 'root';
- $config['ENV']['PDOTEST_PASS'] = '';
+ $config['ENV']['PDOTEST_PASS'] = 'asukasmysql';
}
return $config;
http://cvs.php.net/viewvc.cgi/php-src/ext/pdo_mysql/tests/last_insert_id.phpt?r1=1.1.2.2&r2=1.1.2.3&diff_format=u
Index: php-src/ext/pdo_mysql/tests/last_insert_id.phpt
diff -u php-src/ext/pdo_mysql/tests/last_insert_id.phpt:1.1.2.2
php-src/ext/pdo_mysql/tests/last_insert_id.phpt:1.1.2.3
--- php-src/ext/pdo_mysql/tests/last_insert_id.phpt:1.1.2.2 Mon Jul 10 14:06:13 2006
+++ php-src/ext/pdo_mysql/tests/last_insert_id.phpt Mon Jul 31 20:14:40 2006
@@ -4,7 +4,8 @@
<?php
if (!extension_loaded('pdo') || !extension_loaded('pdo_mysql')) die('skip
not loaded');
require dirname(__FILE__) . '/config.inc';
-require dirname(__FILE__) . '/../../../ext/pdo/tests/pdo_test.inc';
+require dirname(__FILE__) . '/../../../ext/pdo/tests/pdo_test.inc';
+$db = PDOTest::test_factory(dirname(__FILE__) . '/common.phpt');
PDOTest::skip();
?>
--FILE--
http://cvs.php.net/viewvc.cgi/php-src/ext/pdo_mysql/tests/pecl_bug_5200.phpt?r1=1.1.2.3&r2=1.1.2.3.2.1&diff_format=u
Index: php-src/ext/pdo_mysql/tests/pecl_bug_5200.phpt
diff -u php-src/ext/pdo_mysql/tests/pecl_bug_5200.phpt:1.1.2.3
php-src/ext/pdo_mysql/tests/pecl_bug_5200.phpt:1.1.2.3.2.1
--- php-src/ext/pdo_mysql/tests/pecl_bug_5200.phpt:1.1.2.3 Tue Oct 18 00:12:30 2005
+++ php-src/ext/pdo_mysql/tests/pecl_bug_5200.phpt Mon Jul 31 20:14:40 2006
@@ -5,6 +5,7 @@
if (!extension_loaded('pdo') || !extension_loaded('pdo_mysql')) die('skip
not loaded');
require dirname(__FILE__) . '/config.inc';
require dirname(__FILE__) . '/../../../ext/pdo/tests/pdo_test.inc';
+$db = PDOTest::test_factory(dirname(__FILE__) . '/common.phpt');
PDOTest::skip();
?>
--FILE--
http://cvs.php.net/viewvc.cgi/php-src/ext/pdo_mysql/tests/pecl_bug_5780.phpt?r1=1.1.2.1&r2=1.1.2.1.2.1&diff_format=u
Index: php-src/ext/pdo_mysql/tests/pecl_bug_5780.phpt
diff -u php-src/ext/pdo_mysql/tests/pecl_bug_5780.phpt:1.1.2.1
php-src/ext/pdo_mysql/tests/pecl_bug_5780.phpt:1.1.2.1.2.1
--- php-src/ext/pdo_mysql/tests/pecl_bug_5780.phpt:1.1.2.1 Sat Oct 29 02:36:28 2005
+++ php-src/ext/pdo_mysql/tests/pecl_bug_5780.phpt Mon Jul 31 20:14:40 2006
@@ -5,6 +5,7 @@
if (!extension_loaded('pdo') || !extension_loaded('pdo_mysql')) die('skip
not loaded');
require dirname(__FILE__) . '/config.inc';
require dirname(__FILE__) . '/../../../ext/pdo/tests/pdo_test.inc';
+$db = PDOTest::test_factory(dirname(__FILE__) . '/common.phpt');
PDOTest::skip();
?>
--FILE--
http://cvs.php.net/viewvc.cgi/php-src/ext/pdo_mysql/tests/pecl_bug_5802.phpt?r1=1.1.2.1&r2=1.1.2.1.2.1&diff_format=u
Index: php-src/ext/pdo_mysql/tests/pecl_bug_5802.phpt
diff -u php-src/ext/pdo_mysql/tests/pecl_bug_5802.phpt:1.1.2.1
php-src/ext/pdo_mysql/tests/pecl_bug_5802.phpt:1.1.2.1.2.1
--- php-src/ext/pdo_mysql/tests/pecl_bug_5802.phpt:1.1.2.1 Sat Oct 29 02:41:50 2005
+++ php-src/ext/pdo_mysql/tests/pecl_bug_5802.phpt Mon Jul 31 20:14:40 2006
@@ -5,6 +5,7 @@
if (!extension_loaded('pdo') || !extension_loaded('pdo_mysql')) die('skip
not loaded');
require dirname(__FILE__) . '/config.inc';
require dirname(__FILE__) . '/../../../ext/pdo/tests/pdo_test.inc';
+$db = PDOTest::test_factory(dirname(__FILE__) . '/common.phpt');
PDOTest::skip();
?>
--FILE--
http://cvs.php.net/viewvc.cgi/php-src/ext/pdo_mysql/tests/show_tables.phpt?r1=1.1.2.2&r2=1.1.2.2.2.1&diff_format=u
Index: php-src/ext/pdo_mysql/tests/show_tables.phpt
diff -u php-src/ext/pdo_mysql/tests/show_tables.phpt:1.1.2.2
php-src/ext/pdo_mysql/tests/show_tables.phpt:1.1.2.2.2.1
--- php-src/ext/pdo_mysql/tests/show_tables.phpt:1.1.2.2 Tue Oct 18 00:12:30 2005
+++ php-src/ext/pdo_mysql/tests/show_tables.phpt Mon Jul 31 20:14:40 2006
@@ -4,7 +4,8 @@
<?php
if (!extension_loaded('pdo') || !extension_loaded('pdo_mysql')) die('skip
not loaded');
require dirname(__FILE__) . '/config.inc';
-require dirname(__FILE__) . '/../../../ext/pdo/tests/pdo_test.inc';
+require dirname(__FILE__) . '/../../../ext/pdo/tests/pdo_test.inc';
+$db = PDOTest::test_factory(dirname(__FILE__) . '/common.phpt');
PDOTest::skip();
?>
--FILE--