1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/persistentdata/persistentstorage/sqlite3api/TEST/TclScript/filectrl.test Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,31 @@
1.4 +# 2008 Jan 22
1.5 +#
1.6 +# The author disclaims copyright to this source code. In place of
1.7 +# a legal notice, here is a blessing:
1.8 +#
1.9 +# May you do good and not evil.
1.10 +# May you find forgiveness for yourself and forgive others.
1.11 +# May you share freely, never taking more than you give.
1.12 +#
1.13 +#***********************************************************************
1.14 +#
1.15 +# $Id: filectrl.test,v 1.1 2008/01/22 14:50:17 drh Exp $
1.16 +
1.17 +set testdir [file dirname $argv0]
1.18 +source $testdir/tester.tcl
1.19 +
1.20 +
1.21 +do_test filectrl-1.1 {
1.22 + file_control_test db
1.23 +} {}
1.24 +do_test filectrl-1.2 {
1.25 + db eval {CREATE TEMP TABLE x(y);}
1.26 + file_control_test db
1.27 +} {}
1.28 +do_test filectrl-1.3 {
1.29 + db close
1.30 + sqlite3 db :memory:
1.31 + file_control_test db
1.32 +} {}
1.33 +
1.34 +finish_test