From: Reini U. <ru...@us...> - 2007-01-04 16:48:16
|
Update of /cvsroot/phpwiki/phpwiki/tests/unit In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2997/tests/unit Modified Files: test.php Log Message: Do sqlite Index: test.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/tests/unit/test.php,v retrieving revision 1.44 retrieving revision 1.45 diff -u -2 -b -p -d -r1.44 -r1.45 --- test.php 23 Dec 2006 11:44:56 -0000 1.44 +++ test.php 4 Jan 2007 16:48:15 -0000 1.45 @@ -101,5 +101,5 @@ if ((int)substr(phpversion(), 1) >= 5) // For "cvs" see the seperate tests/unit_test_backend_cvs.php (cvs is experimental) //TODO: read some database values from config.ini, just use the "test_" prefix -// "flatfile" testing occurs in "tests/unit/.testbox/" +// "flatfile" testing occurs in "tests/unit/.testbox/flatfile" // "dba" needs the DATABASE_DBA_HANDLER, also in the .textbox directory //$database_dba_handler = (substr(PHP_OS,0,3) == 'WIN') ? "db3" : "gdbm"; @@ -597,8 +597,8 @@ foreach ($run_database_backends as $dbty } // sqlite fix: - /* if (preg_match('/sqlite$/', $dbtype)) { + if (preg_match('/sqlite$/', $dbtype)) { $DBParams['dsn'] = preg_replace("/127\.0\.0\.1/", '', $DBParams['dsn']); echo "dsn: ",$DBParams['dsn'],"\n"; - } */ + } $DBParams['directory'] = $cur_dir . '/.testbox'; if ($dbtype == 'flatfile') @@ -650,4 +650,7 @@ if (isset($HTTP_SERVER_VARS['REQUEST_MET // $Log$ +// Revision 1.45 2007/01/04 16:48:15 rurban +// Do sqlite +// // Revision 1.44 2006/12/23 11:44:56 rurban // deal with strict references and the order of deletion |