diff options
author | drh <drh@noemail.net> | 2017-07-11 02:53:38 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2017-07-11 02:53:38 +0000 |
commit | e2b01012bc219d32df2cdc6888218ec645defdd3 (patch) | |
tree | 783449f78824691a0df2c4addcef1691994d48d9 /test/backup2.test | |
parent | f3c0009d8b9208123e41da64b2c757c2f307c95f (diff) | |
download | sqlite-e2b01012bc219d32df2cdc6888218ec645defdd3.tar.gz sqlite-e2b01012bc219d32df2cdc6888218ec645defdd3.zip |
Fix a backup2 test case so that it works on FreeBSD.
FossilOrigin-Name: 724819b456ca7a5ca6d68415b3b3554741c3ddbb5c416cb6b6b5fc54177f426e
Diffstat (limited to 'test/backup2.test')
-rw-r--r-- | test/backup2.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/backup2.test b/test/backup2.test index ad2d9a491..b58c6a3cd 100644 --- a/test/backup2.test +++ b/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 {[string match *BSD $tcl_platform(os)]} { set msg {restore failed: file is not a database} } else { set msg {cannot open source database: disk I/O error} |