diff options
Diffstat (limited to 'test/incrblob4.test')
-rw-r--r-- | test/incrblob4.test | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test/incrblob4.test b/test/incrblob4.test index d6ffe6b65..c9bcee8a3 100644 --- a/test/incrblob4.test +++ b/test/incrblob4.test @@ -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 } |