Fix some test files so that they work with SQLITE_OMIT_WAL builds.

FossilOrigin-Name: a38668dcff0a4d241d959ea19330ad43295d757d
This commit is contained in:
dan
2011-09-24 05:55:36 +00:00
parent c78e6e4c4b
commit 5209132a48
10 changed files with 126 additions and 96 deletions
+5
View File
@@ -48,6 +48,11 @@ do_execsql_test 1.1 {
PRAGMA journal_mode = DELETE;
} {delete}
ifcapable !wal {
finish_test
return
}
do_test 1.2 { sqlite3demo_superlock unlock test.db } {unlock}
do_catchsql_test 1.3 { SELECT * FROM t1 } {1 {database is locked}}
do_test 1.4 { unlock } {}