Additional test cases. (CVS 4806)

FossilOrigin-Name: 74126bf4e605dc875adbf5a0ee83bf8112891e35
This commit is contained in:
drh
2008-02-21 21:30:07 +00:00
parent 1cfdc90b43
commit e4d052a314
3 changed files with 16 additions and 8 deletions
+9 -1
View File
@@ -11,7 +11,7 @@
# This file implements regression tests for SQLite library. The
# focus of this script testing the callback-free C/C++ API.
#
# $Id: capi3.test,v 1.58 2008/01/22 01:48:09 drh Exp $
# $Id: capi3.test,v 1.59 2008/02/21 21:30:07 drh Exp $
#
set testdir [file dirname $argv0]
@@ -164,6 +164,14 @@ ifcapable {utf16} {
} {library routine called out of sequence}
}
do_test capi3-3.7 {
set db2 [sqlite3_open]
sqlite3_errcode $db2
} {SQLITE_OK}
do_test capi3-3.8 {
sqlite3_close $db2
} {SQLITE_OK}
# rename sqlite3_open ""
# rename sqlite3_open_old sqlite3_open