1
0
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:
drh
2025-07-08 20:28:35 +00:00
parent 9a13a21223
commit aa12f0027b
4 changed files with 15 additions and 13 deletions

View File

@ -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 }