summaryrefslogtreecommitdiff
path: root/databases/sqlite3/files/patch-test-backup2.test
diff options
context:
space:
mode:
Diffstat (limited to 'databases/sqlite3/files/patch-test-backup2.test')
-rw-r--r--databases/sqlite3/files/patch-test-backup2.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/sqlite3/files/patch-test-backup2.test b/databases/sqlite3/files/patch-test-backup2.test
new file mode 100644
index 000000000000..1cd460339071
--- /dev/null
+++ b/databases/sqlite3/files/patch-test-backup2.test
@@ -0,0 +1,11 @@
+--- test/backup2.test.orig 2010-12-09 13:44:49.000000000 +0300
++++ test/backup2.test 2010-12-09 13:45:39.000000000 +0300
+@@ -155,7 +155,7 @@
+ file mkdir bu3.db
+ set rc [catch {db restore temp bu3.db} res]
+ lappend rc $res
+- } {1 {cannot open source database: disk I/O error}}
++ } {1 {restore failed: file is encrypted or is not a database}}
+ }
+
+ # Try to restore from something that is not a database file.