From 8395617cf16f4c68e8899f72bfd804fbfec995cf Mon Sep 17 00:00:00 2001 From: rurban Date: Thu, 4 Jan 2007 16:48:15 +0000 Subject: [PATCH] Do sqlite git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@5418 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- tests/unit/test.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tests/unit/test.php b/tests/unit/test.php index bfc900b44..128986a71 100644 --- a/tests/unit/test.php +++ b/tests/unit/test.php @@ -100,7 +100,7 @@ if ((int)substr(phpversion(), 1) >= 5) //TODO: convert cvs test // 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"; // "SQL" and "ADODB" need delete permissions to the test db @@ -596,10 +596,10 @@ foreach ($run_database_backends as $dbtype) { echo "dsn: ",$DBParams['dsn'],"\n"; } // 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') $DBParams['directory'] = $cur_dir . '/.testbox/flatfile'; @@ -649,6 +649,9 @@ if (isset($HTTP_SERVER_VARS['REQUEST_METHOD'])) echo "\n"; // $Log: not supported by cvs2svn $ +// Revision 1.44 2006/12/23 11:44:56 rurban +// deal with strict references and the order of deletion +// // Revision 1.43 2006/06/05 09:35:02 rurban // add experimental backend flatfile, minor fixes // -- 2.45.0