Re: [sqlite] [patch] for test/backup2.test

2017-07-10 Thread jungle boogie

Hi All,
On 07/06/2017 10:51 PM, Pavel Volkov wrote:

Hello.
Please, make test 'test/backup2.test' more compatible with FreeBSD.
This is patch for it:

--- test/backup2.test.orig  2017-07-07 04:59:34 UTC
+++ test/backup2.test
@@ -143,7 +143,7 @@ do_test backup2-9 {
  #
  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}



Any chance of this patch getting accepted/reviewed?

Without it, this happens:
Time: backcompat.test 13 ms 




! backup2-10 expected: [1 {cannot open source database: disk I/O error}] 




! backup2-10 got:  [1 {restore failed: file is not a database}]




Thank you.

___
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users


[sqlite] [patch] for test/backup2.test

2017-07-06 Thread Pavel Volkov
Hello.
Please, make test 'test/backup2.test' more compatible with FreeBSD.
This is patch for it:

--- test/backup2.test.orig  2017-07-07 04:59:34 UTC
+++ test/backup2.test
@@ -143,7 +143,7 @@ do_test backup2-9 {
 #
 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}

Thank you.
___
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users