projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
fix build <C99
[m6w6/ext-psi]
/
tests
/
sqlite
/
sqlite001.phpt
diff --git
a/tests/sqlite/sqlite001.phpt
b/tests/sqlite/sqlite001.phpt
index a5e131674cd0ca2e072b795a732f8c0ef60ac4f1..27bc7adc5d0443d9aa870d85cabc7938f6c59444 100644
(file)
--- a/
tests/sqlite/sqlite001.phpt
+++ b/
tests/sqlite/sqlite001.phpt
@@
-2,6
+2,7
@@
sqlite3
--INI--
psi.directory={PWD}:{PWD}/../../psi.d
sqlite3
--INI--
psi.directory={PWD}:{PWD}/../../psi.d
+psi.blacklist.decls="sqlite3_str*,sqlite3_*serialize,sqlite3_stmt_scanstatus*,sqlite3_snapshot*,sqlite3_win32*"
--SKIPIF--
<?php
extension_loaded("psi") or printf("%s\n", "skip - need ext/psi");
--SKIPIF--
<?php
extension_loaded("psi") or printf("%s\n", "skip - need ext/psi");
@@
-52,6
+53,11
@@
if ($rc) {
sqlite3\close($db);
sqlite3\close($db);
+$rc = sqlite3\exec($db, "SELECT *", "callback", new stdClass, $error);
+if ($rc) {
+ printf("%s: '%s'\n", sqlite3\errstr($rc), $error);
+}
+
?>
===DONE===
--EXPECTF--
?>
===DONE===
--EXPECTF--
@@
-72,7
+78,8
@@
string(%d) "3.%d.%s"
2: id = 3
2: data = three
2: id = 3
2: data = three
-SQL logic error or missing database: 'no tables specified'
+SQL logic error%s
+%s: ''
===DONE===
--CLEAN--
<?php
===DONE===
--CLEAN--
<?php