~ubuntu-branches/ubuntu/hardy/sqlite3/hardy

« back to all changes in this revision

Viewing changes to test/trans.test

  • Committer: Bazaar Package Importer
  • Author(s): Laszlo Boszormenyi (GCS)
  • Date: 2006-10-12 21:55:37 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20061012215537-mgvrxoq8ee4nqxzh
Tags: 3.3.8-1
* New upstream version.
* Create lang_* files for documentation (closes: #310603).
* Enable column metadata functions (closes: #375352).

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
# This file implements regression tests for SQLite library.  The
12
12
# focus of this script is database locks.
13
13
#
14
 
# $Id: trans.test,v 1.30 2006/02/13 18:35:06 drh Exp $
 
14
# $Id: trans.test,v 1.32 2006/06/20 11:01:09 danielk1977 Exp $
15
15
 
16
16
 
17
17
set testdir [file dirname $argv0]
793
793
  sqlite_abort
794
794
}
795
795
close $fd
796
 
exec cp -f test.db test.db-bu1
 
796
file copy -force test.db test.db-bu1
797
797
do_test trans-8.1 {
798
798
  catch {exec [info nameofexec] test.tcl}
799
 
  exec cp -f test.db test.db-bu2
800
 
  exec cp -f test.db-journal test.db-bu2-journal
 
799
  file copy -force test.db test.db-bu2
 
800
  file copy -force test.db-journal test.db-bu2-journal
801
801
  execsql {SELECT md5sum(x,y,z) FROM t2}
802
802
} $checksum
803
803
do_test trans-8.2 {
905
905
        } [expr {$i%2==0}]
906
906
      } else {
907
907
        do_test trans-9.$i.5-$cnt {
908
 
           expr {$sqlite_fullsync_count>0}
 
908
          expr {$sqlite_fullsync_count>0}
909
909
        } {1}
910
910
      }
911
911
    }