sqlite/test/filectrl.test
drh 5517625960 Remove dead code from the lemon-generated parser. Better testing
of the sqlite3_file_control() interface, and in particular make sure
the interface works on :memory: databases. (CVS 4738)

FossilOrigin-Name: 83ca4fc7dc18d6deca58fe4181905eb9754e03da
2008-01-22 14:50:16 +00:00

32 lines
714 B
Plaintext

# 2008 Jan 22
#
# The author disclaims copyright to this source code. In place of
# a legal notice, here is a blessing:
#
# May you do good and not evil.
# May you find forgiveness for yourself and forgive others.
# May you share freely, never taking more than you give.
#
#***********************************************************************
#
# $Id: filectrl.test,v 1.1 2008/01/22 14:50:17 drh Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
do_test filectrl-1.1 {
file_control_test db
} {}
do_test filectrl-1.2 {
db eval {CREATE TEMP TABLE x(y);}
file_control_test db
} {}
do_test filectrl-1.3 {
db close
sqlite3 db :memory:
file_control_test db
} {}
finish_test