sl@0
|
1 |
# 2008 Jan 22
|
sl@0
|
2 |
#
|
sl@0
|
3 |
# The author disclaims copyright to this source code. In place of
|
sl@0
|
4 |
# a legal notice, here is a blessing:
|
sl@0
|
5 |
#
|
sl@0
|
6 |
# May you do good and not evil.
|
sl@0
|
7 |
# May you find forgiveness for yourself and forgive others.
|
sl@0
|
8 |
# May you share freely, never taking more than you give.
|
sl@0
|
9 |
#
|
sl@0
|
10 |
#***********************************************************************
|
sl@0
|
11 |
#
|
sl@0
|
12 |
# $Id: filectrl.test,v 1.1 2008/01/22 14:50:17 drh Exp $
|
sl@0
|
13 |
|
sl@0
|
14 |
set testdir [file dirname $argv0]
|
sl@0
|
15 |
source $testdir/tester.tcl
|
sl@0
|
16 |
|
sl@0
|
17 |
|
sl@0
|
18 |
do_test filectrl-1.1 {
|
sl@0
|
19 |
file_control_test db
|
sl@0
|
20 |
} {}
|
sl@0
|
21 |
do_test filectrl-1.2 {
|
sl@0
|
22 |
db eval {CREATE TEMP TABLE x(y);}
|
sl@0
|
23 |
file_control_test db
|
sl@0
|
24 |
} {}
|
sl@0
|
25 |
do_test filectrl-1.3 {
|
sl@0
|
26 |
db close
|
sl@0
|
27 |
sqlite3 db :memory:
|
sl@0
|
28 |
file_control_test db
|
sl@0
|
29 |
} {}
|
sl@0
|
30 |
|
sl@0
|
31 |
finish_test
|