bjori           Mon May 18 13:52:05 2009 UTC

  Modified files:              
    /php-src/ext/sqlite3/tests  sqlite3_31_open.phpt 
  Log:
  Fix test
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/sqlite3/tests/sqlite3_31_open.phpt?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/sqlite3/tests/sqlite3_31_open.phpt
diff -u php-src/ext/sqlite3/tests/sqlite3_31_open.phpt:1.1 
php-src/ext/sqlite3/tests/sqlite3_31_open.phpt:1.2
--- php-src/ext/sqlite3/tests/sqlite3_31_open.phpt:1.1  Sun May 17 16:51:22 2009
+++ php-src/ext/sqlite3/tests/sqlite3_31_open.phpt      Mon May 18 13:52:05 2009
@@ -9,12 +9,14 @@
 <?php
 
 try {
-  $db = new SQLite3('db1.db');
-  $db->open('db1.db');
+  $db = new SQLite3(__DIR__ . '/db1.db');
+  $db->open(__DIR__ . '/db1.db');
 } catch (Exception $ex) {
   var_dump($ex->getMessage());
 }
 
 ?>
+--CLEAN--
+<?php @unlink(__DIR__ . '/db1.db'); ?>
 --EXPECTF--
 %string|unicode%(29) "Already initialised DB Object"



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to