OLD | NEW |
1 # 2007 Sept 7 | 1 # 2007 Sept 7 |
2 # | 2 # |
3 # The author disclaims copyright to this source code. In place of | 3 # The author disclaims copyright to this source code. In place of |
4 # a legal notice, here is a blessing: | 4 # a legal notice, here is a blessing: |
5 # | 5 # |
6 # May you do good and not evil. | 6 # May you do good and not evil. |
7 # May you find forgiveness for yourself and forgive others. | 7 # May you find forgiveness for yourself and forgive others. |
8 # May you share freely, never taking more than you give. | 8 # May you share freely, never taking more than you give. |
9 # | 9 # |
10 #*********************************************************************** | 10 #*********************************************************************** |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 do_test corrupt4-1.4 { | 74 do_test corrupt4-1.4 { |
75 hexio_write test.db [expr {$::baseaddr+4}] [hexio_render_int32 -100000000] | 75 hexio_write test.db [expr {$::baseaddr+4}] [hexio_render_int32 -100000000] |
76 db close | 76 db close |
77 sqlite3 db test.db | 77 sqlite3 db test.db |
78 catchsql { | 78 catchsql { |
79 DROP TABLE t2 | 79 DROP TABLE t2 |
80 } | 80 } |
81 } {1 {database disk image is malformed}} | 81 } {1 {database disk image is malformed}} |
82 | 82 |
83 finish_test | 83 finish_test |
OLD | NEW |