/ Check-in [16a8172a]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Initialize variables in malloc3.test (was causing error in all.test). (CVS 2906)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 16a8172a617d4ff739660ae67d3e381b2dea68e6
User & Date: danielk1977 2006-01-10 18:27:42
Context
2006-01-10
18:44
Fix opcode name in comments. No changes to code. (CVS 2907) check-in: 511ac9db user: drh tags: trunk
18:27
Initialize variables in malloc3.test (was causing error in all.test). (CVS 2906) check-in: 16a8172a user: danielk1977 tags: trunk
18:08
Typos in new documentation. (CVS 2905) check-in: b5bedb2a user: danielk1977 tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/malloc3.test.

     9      9   #
    10     10   #***********************************************************************
    11     11   #
    12     12   # This file contains tests to ensure that the library handles malloc() failures
    13     13   # correctly. The emphasis of these tests are the _prepare(), _step() and
    14     14   # _finalize() calls.
    15     15   #
    16         -# $Id: malloc3.test,v 1.5 2005/12/16 15:24:30 danielk1977 Exp $
           16  +# $Id: malloc3.test,v 1.6 2006/01/10 18:27:42 danielk1977 Exp $
    17     17   
    18     18   set testdir [file dirname $argv0]
    19     19   source $testdir/tester.tcl
    20     20   
    21     21   # Only run these tests if memory debugging is turned on.
    22     22   if {[info command sqlite_malloc_stat]==""} {
    23     23      puts "Skipping malloc tests: not compiled with -DSQLITE_MEMDEBUG..."
................................................................................
   141    141   #--------------------------------------------------------------------------
   142    142   
   143    143   
   144    144   # These procs are used to build up a "program" in global variable
   145    145   # ::run_test_script. At the end of this file, the proc [run_test] is used
   146    146   # to execute the program (and all test cases contained therein).
   147    147   #
          148  +set ::run_test_script [list]
   148    149   proc TEST {id t} {lappend ::run_test_script -test [list $id $t]}
   149    150   proc PREP {p} {lappend ::run_test_script -prep [string trim $p]}
   150    151   
   151    152   # SQL --
   152    153   #
   153    154   #     SQL ?-norollback? <sql-text>
   154    155   #