Update a couple of tests in corrupt7.test to account for a change in the error message text emitted by SQLite. (CVS 6968)

FossilOrigin-Name: 3172a296926c6b50af5b6edfe38013056e155fa0
This commit is contained in:
danielk1977
2009-08-10 10:18:07 +00:00
parent c551288256
commit 8f00a826ca
3 changed files with 10 additions and 10 deletions
+3 -3
View File
@@ -14,7 +14,7 @@
# segfault if it sees a corrupt database file. It specifically focuses
# on corrupt cell offsets in a btree page.
#
# $Id: corrupt7.test,v 1.7 2009/06/09 13:42:25 drh Exp $
# $Id: corrupt7.test,v 1.8 2009/08/10 10:18:08 danielk1977 Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@@ -67,14 +67,14 @@ ifcapable oversize_cell_check {
sqlite3 db test.db
db eval {PRAGMA integrity_check(1)}
} {{*** in database main ***
Page 2: sqlite3BtreeInitPage() returns error code 11}}
Page 2: btreeInitPage() returns error code 11}}
do_test corrupt7-2.2 {
db close
hexio_write test.db 1062 04
sqlite3 db test.db
db eval {PRAGMA integrity_check(1)}
} {{*** in database main ***
Page 2: sqlite3BtreeInitPage() returns error code 11}}
Page 2: btreeInitPage() returns error code 11}}
} else {
do_test corrupt7-2.1 {
db close