1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Fix some test scripts so that they work with a minimal build configuration. (CVS 2241)

FossilOrigin-Name: d267fb3ca3f31ee138c9613cb84e873ede7f141a
This commit is contained in:
danielk1977
2005-01-20 02:17:01 +00:00
parent 1bd3644f27
commit 4489f9bdec
11 changed files with 136 additions and 113 deletions

View File

@ -13,7 +13,7 @@
# This file implements tests to make sure SQLite does not crash or
# segfault if it sees a corrupt database file.
#
# $Id: corrupt.test,v 1.3 2005/01/17 07:53:44 danielk1977 Exp $
# $Id: corrupt.test,v 1.4 2005/01/20 02:17:02 danielk1977 Exp $
catch {file delete -force test.db}
catch {file delete -force test.db-journal}
@ -43,9 +43,9 @@ do_test corrupt-1.1 {
CREATE TABLE t2 AS SELECT * FROM t1;
DELETE FROM t2 WHERE rowid%5!=0;
COMMIT;
PRAGMA integrity_check;
}
} {ok}
} {}
integrity_check corrupt-1.2
# Copy file $from into $to
#