bjori           Mon May 18 13:52:16 2009 UTC

  Modified files:              (Branch: PHP_5_3)
    /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.2.2&r2=1.1.2.3&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.2.2 
php-src/ext/sqlite3/tests/sqlite3_31_open.phpt:1.1.2.3
--- php-src/ext/sqlite3/tests/sqlite3_31_open.phpt:1.1.2.2      Sun May 17 
16:51:59 2009
+++ php-src/ext/sqlite3/tests/sqlite3_31_open.phpt      Mon May 18 13:52:16 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