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