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

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

Issue 6990047: Import SQLite 3.7.6.3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 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/incrblobfault.test ('k') | third_party/sqlite/src/test/incrvacuum2.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/incrvacuum.test
diff --git a/third_party/sqlite/src/test/incrvacuum.test b/third_party/sqlite/src/test/incrvacuum.test
index fe10acb3d92d5cc39ce18630cf22e1744b8ae09d..d037d8e7d93f8da6ccec9f3d52afa1c5a710ee74 100644
--- a/third_party/sqlite/src/test/incrvacuum.test
+++ b/third_party/sqlite/src/test/incrvacuum.test
@@ -727,15 +727,18 @@ do_test incrvacuum-13.5 {
# Verify that the incremental_vacuum pragma fails gracefully if it
# is used against an invalid database file.
#
-do_test incrvacuum-14.1 {
- set out [open invalid.db w]
- puts $out "This is not an SQLite database file"
- close $out
- sqlite3 db3 invalid.db
- catchsql {
- PRAGMA incremental_vacuum(10);
- } db3
-} {1 {file is encrypted or is not a database}}
+if {[permutation] == ""} {
+ do_test incrvacuum-14.1 {
+ set out [open invalid.db w]
+ puts $out "This is not an SQLite database file"
+ close $out
+ sqlite3 db3 invalid.db
+ catchsql {
+ PRAGMA incremental_vacuum(10);
+ } db3
+ } {1 {file is encrypted or is not a database}}
+ db3 close
+}
do_test incrvacuum-15.1 {
db close
@@ -780,5 +783,4 @@ do_test incrvacuum-15.1 {
}
} {ok}
-db3 close
finish_test
« no previous file with comments | « third_party/sqlite/src/test/incrblobfault.test ('k') | third_party/sqlite/src/test/incrvacuum2.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698