Updates to test scripts for better support of soft-heap-limit testing. (CVS 4209)

FossilOrigin-Name: 990f621f2247f1636e895dcf51fea1e08f202d31
diff --git a/test/incrblob.test b/test/incrblob.test
index 5cd7040..434ac9a 100644
--- a/test/incrblob.test
+++ b/test/incrblob.test
@@ -9,7 +9,7 @@
 #
 #***********************************************************************
 #
-# $Id: incrblob.test,v 1.12 2007/06/27 00:36:14 drh Exp $
+# $Id: incrblob.test,v 1.13 2007/08/12 20:07:59 drh Exp $
 #
 
 set testdir [file dirname $argv0]
@@ -105,6 +105,8 @@
   return $stats(write)
 }
 
+sqlite3_soft_heap_limit 0
+
 foreach AutoVacuumMode [list 0 1] {
 
   if {$AutoVacuumMode>0} {
@@ -202,6 +204,7 @@
     nRead db
   } [expr $AutoVacuumMode ? 4 : 30]
 }
+sqlite3_soft_heap_limit $soft_limit
 
 #------------------------------------------------------------------------
 # incrblob-3.*: 
@@ -363,6 +366,7 @@
 #     after the transaction is commited and the blob channel 
 #     closed.
 #
+sqlite3_soft_heap_limit 0
 do_test incrblob-6.1 {
   sqlite3 db2 test.db
   execsql {
@@ -438,6 +442,7 @@
   }
 } {a different invocation}
 db2 close
+sqlite3_soft_heap_limit $soft_limit
 
 #-----------------------------------------------------------------------
 # The following tests verify the behaviour of the incremental IO