/ Check-in [c4436a93]
Login

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

Overview
Comment:Move session1.test from test/ to ext/session/.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | sessions
Files: files | file ages | folders
SHA1: c4436a936ab302aec3b7f41a4552f69ad5815744
User & Date: dan 2011-03-19 17:07:58
Context
2011-03-19
18:46
Fix a bug in changeset generation code. check-in: 825df75b user: dan tags: sessions
17:07
Move session1.test from test/ to ext/session/. check-in: c4436a93 user: dan tags: sessions
16:26
Fix a problem with resizing a hash table in sqlite3session.c. check-in: 6e5907e1 user: dan tags: sessions
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Name change from test/session1.test to ext/session/session1.test.

     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 implements regression tests for SQLite library.
    12     12   #
    13     13   
    14         -set testdir [file dirname $argv0]
           14  +if {![info exists testdir]} {
           15  +  set testdir [file join [file dirname [info script]] .. .. test]
           16  +} 
           17  +source [file join [file dirname [info script]] session_common.tcl]
    15     18   source $testdir/tester.tcl
    16         -set ::testprefix session1
           19  +
           20  +set testprefix session1
    17     21   
    18     22   proc do_changeset_test {tn session res} {
    19     23     set r [list]
    20     24     foreach x $res {lappend r $x}
    21     25     uplevel do_test $tn [list [subst -nocommands {
    22     26       set x [list]
    23     27       sqlite3session_foreach c [$session changeset] { lappend x [set c] }