Index: third_party/sqlite/src/test/ioerr.test |
diff --git a/third_party/sqlite/src/test/ioerr.test b/third_party/sqlite/src/test/ioerr.test |
index 21052e412058b4dcbfeff3b24cbeddfed2834aac..f9b95555cadc5640c1198ecc37af6bb70fe0ec67 100644 |
--- a/third_party/sqlite/src/test/ioerr.test |
+++ b/third_party/sqlite/src/test/ioerr.test |
@@ -135,8 +135,13 @@ ifcapable attach { |
# Test IO errors when replaying two hot journals from a 2-file |
# transaction. This test only runs on UNIX. |
+# |
+# It cannot be run under the "exclusive" permutation. In that case, the |
+# locks held by the connection in the local (this) process prevent a |
+# second connection from attempting the multi-file transaction. |
+# |
ifcapable crashtest&&attach { |
- if {![catch {sqlite3 -has_codec} r] && !$r} { |
+ if {![catch {sqlite3 -has-codec} r] && !$r && [permutation]!="exclusive"} { |
do_ioerr_test ioerr-6 -ckrefcount true -tclprep { |
execsql { |
ATTACH 'test2.db' as aux; |