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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 do_test corrupt4-1.4 { | 70 do_test corrupt4-1.4 { |
71 hexio_write test.db [expr {$::baseaddr+4}] [hexio_render_int32 -100000000] | 71 hexio_write test.db [expr {$::baseaddr+4}] [hexio_render_int32 -100000000] |
72 db close | 72 db close |
73 sqlite3 db test.db | 73 sqlite3 db test.db |
74 catchsql { | 74 catchsql { |
75 DROP TABLE t2 | 75 DROP TABLE t2 |
76 } | 76 } |
77 } {1 {database disk image is malformed}} | 77 } {1 {database disk image is malformed}} |
78 | 78 |
79 finish_test | 79 finish_test |
OLD | NEW |