~ubuntu-branches/ubuntu/maverick/sqlite3/maverick-updates

« back to all changes in this revision

Viewing changes to test/sync.test

  • Committer: Bazaar Package Importer
  • Author(s): Laszlo Boszormenyi (GCS)
  • Date: 2008-10-01 20:16:18 UTC
  • mfrom: (3.1.20 intrepid)
  • Revision ID: james.westby@ubuntu.com-20081001201618-yfvqqj1qs29wdtcc
Tags: 3.5.9-5
Backport fix for distinct on indexes (closes: #500792).

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
# This file implements tests to verify that fsync is disabled when
14
14
# pragma synchronous=off even for multi-database commits.
15
15
#
16
 
# $Id: sync.test,v 1.5 2006/02/11 01:25:51 drh Exp $
 
16
# $Id: sync.test,v 1.6 2007/10/09 08:29:33 danielk1977 Exp $
17
17
 
18
18
set testdir [file dirname $argv0]
19
19
source $testdir/tester.tcl
20
20
 
21
21
#
22
22
# These tests are only applicable on unix when pager pragma are
23
 
# enabled.
 
23
# enabled. Also, since every test uses an ATTACHed database, they
 
24
# are only run when ATTACH is enabled.
24
25
#
25
26
if {$::tcl_platform(platform)!="unix"} {
26
27
  finish_test
27
28
  return
28
29
}
29
 
ifcapable !pager_pragmas {
 
30
ifcapable !pager_pragmas||!attach {
30
31
  finish_test
31
32
  return
32
33
}