fix sqlite test
[m6w6/ext-psi] / tests / sqlite / sqlite001.phpt
index 41b25e7b4f7b9934b942fafe6ced9584564f3986..a243e75dcf721193435932638d512941ce90d6f1 100644 (file)
@@ -2,6 +2,7 @@
 sqlite3
 --INI--
 psi.directory={PWD}:{PWD}/../../psi.d
+psi.blacklist.decls="sqlite3_*serialize,sqlite3_stmt_scanstatus*,sqlite3_snapshot*"
 --SKIPIF--
 <?php
 extension_loaded("psi") or printf("%s\n", "skip - need ext/psi");
@@ -52,7 +53,7 @@ if ($rc) {
 
 sqlite3\close($db);
 
-$rc = sqlite3\exec($db, "SELECT * FROM test", "callback", new stdClass, $error);
+$rc = sqlite3\exec($db, "SELECT *", "callback", new stdClass, $error);
 if ($rc) {
        printf("%s: '%s'\n", sqlite3\errstr($rc), $error);
 }
@@ -77,8 +78,8 @@ string(%d) "3.%d.%s"
 2: id = 3
 2: data = three
 
-SQL logic error or missing database: 'no tables specified'
-library routine called out of sequence: ''
+SQL logic error%s
+%s: ''
 ===DONE===
 --CLEAN--
 <?php