/ Check-in [cd6ca078]
Login

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

Overview
Comment:Get the memleak.test script working again after recent changes. (CVS 3768)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: cd6ca078e3402f06836b6b510a4a431f576f7219
User & Date: drh 2007-03-30 17:17:52
Context
2007-03-30
17:18
Remove asserts on the existing of journal files in pager - asserts that are not valid for certain kinds of simulated I/O errors or for async I/O. (CVS 3769) check-in: f5fad52a user: drh tags: trunk
17:17
Get the memleak.test script working again after recent changes. (CVS 3768) check-in: cd6ca078 user: drh tags: trunk
17:11
Coverage tests for some pragmas. (CVS 3767) check-in: eec7ab63 user: danielk1977 tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/memleak.test.

     6      6   #    May you do good and not evil.
     7      7   #    May you find forgiveness for yourself and forgive others.
     8      8   #    May you share freely, never taking more than you give.
     9      9   #
    10     10   #***********************************************************************
    11     11   # This file runs all tests.
    12     12   #
    13         -# $Id: memleak.test,v 1.9 2005/03/16 12:15:22 danielk1977 Exp $
           13  +# $Id: memleak.test,v 1.10 2007/03/30 17:17:52 drh Exp $
    14     14   
    15     15   set testdir [file dirname $argv0]
    16     16   source $testdir/tester.tcl
    17         -rename finish_test really_finish_test
           17  +rename finish_test memleak_finish_test
    18     18   proc finish_test {} {
    19     19     catch {db close}
    20     20     memleak_check
    21     21   }
    22     22   
    23     23   if {[file exists ./sqlite_test_count]} {
    24     24     set COUNT [exec cat ./sqlite_test_count]
................................................................................
    34     34   
    35     35   set EXCLUDE {
    36     36     all.test
    37     37     quick.test
    38     38     misuse.test
    39     39     memleak.test
    40     40     btree2.test
           41  +  async.test
           42  +  async2.test
    41     43     trans.test
    42     44     crash.test
    43     45     autovacuum_crash.test
    44     46   }
    45     47   # Test files btree2.test and btree4.test don't work if the 
    46     48   # SQLITE_DEFAULT_AUTOVACUUM macro is defined to true (because they depend
    47     49   # on tables being allocated starting at page 2).
................................................................................
    81     83            lappend ::failList memory-leak-test-$tail
    82     84            break
    83     85          }
    84     86       }
    85     87       puts " Ok"
    86     88     }
    87     89   }
    88         -really_finish_test
           90  +memleak_finish_test
    89     91   
    90     92   # Run the malloc tests and the misuse test after memory leak detection.
    91     93   # Both tests leak memory.
    92     94   #
    93     95   #catch {source $testdir/misuse.test}
    94     96   #catch {source $testdir/malloc.test}
    95     97   
    96         -really_finish_test
           98  +memleak_finish_test