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 |