freebsd-ports/databases/sqlite3/files/patch-test-backup2.test
Michael Scheidell a70afcbedc - update to 3.7.10
PR:		ports/164371
Approved by:	gabor (mentor, implicit)
2012-01-22 21:00:37 +00:00

11 lines
No EOL
510 B
Text

--- test/backup2.test.orig 2012-01-22 16:15:22.000000000 +0400
+++ test/backup2.test 2012-01-22 16:30:38.000000000 +0400
@@ -143,7 +143,7 @@
#
if {$tcl_platform(platform)=="windows"} {
set msg {cannot open source database: unable to open database file}
-} elseif {$tcl_platform(os)=="OpenBSD"} {
+} elseif {$tcl_platform(os)=="OpenBSD" || $tcl_platform(os)=="FreeBSD"} {
set msg {restore failed: file is encrypted or is not a database}
} else {
set msg {cannot open source database: disk I/O error}