mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-01 06:27:03 +03:00
Adjustments to test/incrblob4.test so that it works on both Linux and Mac
in spite of error message differences between those platforms. Minor change to termIsEquivalent() to provide 100% MC/DC. FossilOrigin-Name: 720387f8604f7cd997f1850ed62ce6ab32608155d7f02a89c695041caafc4067
This commit is contained in:
@ -129,7 +129,8 @@ do_test 5.2.1 {
|
||||
|
||||
do_test 5.2.2 {
|
||||
puts -nonewline $blob "world"
|
||||
list [catch { flush $blob } msg] $msg
|
||||
set rc [catch { flush $blob } msg]
|
||||
list $rc [regsub {input/output} $msg {I/O}]
|
||||
} "1 {error flushing \"$blob\": I/O error}"
|
||||
catch { close $blob }
|
||||
|
||||
@ -149,7 +150,8 @@ do_test 5.3.1 {
|
||||
|
||||
do_test 5.3.2 {
|
||||
puts -nonewline $blob "world"
|
||||
list [catch { flush $blob } msg] $msg
|
||||
set rc [catch { flush $blob } msg]
|
||||
list $rc [regsub {input/output} $msg {I/O}]
|
||||
} "1 {error flushing \"$blob\": I/O error}"
|
||||
catch { close $blob }
|
||||
|
||||
@ -190,7 +192,8 @@ do_test 5.4.3 {
|
||||
|
||||
do_test 5.4.4 {
|
||||
puts -nonewline $blob "world"
|
||||
list [catch { flush $blob } msg] $msg
|
||||
set rc [catch { flush $blob } msg]
|
||||
list $rc [regsub {input/output} $msg {I/O}]
|
||||
} "1 {error flushing \"$blob\": I/O error}"
|
||||
catch { close $blob }
|
||||
catchsql { ROLLBACK }
|
||||
|
Reference in New Issue
Block a user