Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: third_party/sqlite/src/test/fts3fault.test

Issue 1610963002: Import SQLite 3.10.2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/sqlite/src/test/fts3expr5.test ('k') | third_party/sqlite/src/test/fts3fault2.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/fts3fault.test
diff --git a/third_party/sqlite/src/test/fts3fault.test b/third_party/sqlite/src/test/fts3fault.test
index ab82daa935622f3038416e8accbdda56cb6b8aef..7d9433205958301a7313062d0f945e5d72a0ea18 100644
--- a/third_party/sqlite/src/test/fts3fault.test
+++ b/third_party/sqlite/src/test/fts3fault.test
@@ -18,6 +18,8 @@ set ::testprefix fts3fault
# If SQLITE_ENABLE_FTS3 is not defined, omit this file.
ifcapable !fts3 { finish_test ; return }
+if 0 {
+
# Test error handling in the sqlite3Fts3Init() function. This is the
# function that registers the FTS3 module and various support functions
# with SQLite.
@@ -157,6 +159,9 @@ do_faultsim_test 7.3 -prep {
{1 {SQL logic error or missing database}}
}
+
+}
+
proc mit {blob} {
set scan(littleEndian) i*
set scan(bigEndian) I*
@@ -176,7 +181,7 @@ do_test 8.0 {
faultsim_save_and_close
} {}
-do_faultsim_test 8.1 -prep {
+do_faultsim_test 8.1 -faults oom-t* -prep {
faultsim_restore_and_reopen
db func mit mit
} -body {
@@ -184,6 +189,7 @@ do_faultsim_test 8.1 -prep {
} -test {
faultsim_test_result {0 {{1 1 1 1 4 2 1 5 5}}}
}
+
do_faultsim_test 8.2 -faults oom-t* -prep {
faultsim_restore_and_reopen
db func mit mit
« no previous file with comments | « third_party/sqlite/src/test/fts3expr5.test ('k') | third_party/sqlite/src/test/fts3fault2.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698