OLD | NEW |
1 # 2008 July 11 | 1 # 2008 July 11 |
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 corruptA-2.4 { | 70 do_test corruptA-2.4 { |
71 db close | 71 db close |
72 file copy -force test.db-template test.db | 72 file copy -force test.db-template test.db |
73 hexio_write test.db 23 21 ;# min leaf payload fraction | 73 hexio_write test.db 23 21 ;# min leaf payload fraction |
74 sqlite3 db test.db | 74 sqlite3 db test.db |
75 catchsql {SELECT * FROM t1} | 75 catchsql {SELECT * FROM t1} |
76 } {1 {file is encrypted or is not a database}} | 76 } {1 {file is encrypted or is not a database}} |
77 | 77 |
78 | 78 |
79 finish_test | 79 finish_test |
OLD | NEW |