diff options
Diffstat (limited to 'test/malloc.test')
-rw-r--r-- | test/malloc.test | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/malloc.test b/test/malloc.test index d902a5018..542c56463 100644 --- a/test/malloc.test +++ b/test/malloc.test @@ -16,7 +16,7 @@ # to see what happens in the library if a malloc were to really fail # due to an out-of-memory situation. # -# $Id: malloc.test,v 1.63 2008/07/07 14:56:57 danielk1977 Exp $ +# $Id: malloc.test,v 1.64 2008/08/27 19:01:58 danielk1977 Exp $ set testdir [file dirname $argv0] source $testdir/tester.tcl @@ -409,6 +409,9 @@ ifcapable utf16 { if {[sqlite3_errcode $DB2] eq "SQLITE_IOERR+12"} { error "out of memory" } + if {[regexp ".*automatic extension loading.*" [sqlite3_errmsg $DB2]]} { + error "out of memory" + } if {$rc} { error [string range $msg 4 end] } |