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

Unified Diff: third_party/sqlite/src/test/misc5.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/misc4.test ('k') | third_party/sqlite/src/test/misc7.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/misc5.test
diff --git a/third_party/sqlite/src/test/misc5.test b/third_party/sqlite/src/test/misc5.test
index a28f4918afa0ed189964bf7cb922252a610446b6..34b2284bc16bc0cd74eabe1f9d751ce10beb6282 100644
--- a/third_party/sqlite/src/test/misc5.test
+++ b/third_party/sqlite/src/test/misc5.test
@@ -511,17 +511,19 @@ ifcapable subquery {
# Ticket #1370. Do not overwrite small files (less than 1024 bytes)
# when trying to open them as a database.
#
-do_test misc5-4.1 {
- db close
- file delete -force test.db
- set fd [open test.db w]
- puts $fd "This is not really a database"
- close $fd
- sqlite3 db test.db
- catchsql {
- CREATE TABLE t1(a,b,c);
- }
-} {1 {file is encrypted or is not a database}}
+if {[permutation] == ""} {
+ do_test misc5-4.1 {
+ db close
+ file delete -force test.db
+ set fd [open test.db w]
+ puts $fd "This is not really a database"
+ close $fd
+ sqlite3 db test.db
+ catchsql {
+ CREATE TABLE t1(a,b,c);
+ }
+ } {1 {file is encrypted or is not a database}}
+}
# Ticket #1371. Allow floating point numbers of the form .N or N.
#
« no previous file with comments | « third_party/sqlite/src/test/misc4.test ('k') | third_party/sqlite/src/test/misc7.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698