/ Check-in [1cf05bc6]
Login

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

Overview
Comment:Fix a bug in the pagesize test script. (CVS 1931)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:1cf05bc607c88a3c0b81e82ee2d4fc761f08901a
User & Date: drh 2004-09-02 15:49:08
Context
2004-09-02
15:53
Address some minor 32/64 bit issues. (CVS 1932) check-in: 6c9be972 user: drh tags: trunk
15:49
Fix a bug in the pagesize test script. (CVS 1931) check-in: 1cf05bc6 user: drh tags: trunk
15:27
Fix VACUUM so that it works on files whose name contains '. Ticket #873 (CVS 1930) check-in: 8dd938e4 user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to test/pagesize.test.

7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
..
45
46
47
48
49
50
51
52
53
54
55
56
#    May you find forgiveness for yourself and forgive others.
#    May you share freely, never taking more than you give.
#
#***********************************************************************
# This file implements regression tests for SQLite library.
# This file implements tests for the page_size PRAGMA.
#
# $Id: pagesize.test,v 1.1 2004/09/02 15:14:01 drh Exp $


set testdir [file dirname $argv0]
source $testdir/tester.tcl

do_test pagesize-1.1 {
  execsql {PRAGMA page_size}
................................................................................
  sqlite3 db test.db
  execsql {
    PRAGMA page_size
  }
} 2048
do_test pagesize-1.6 {
  file size test.db
} 2048



finish_test







|







 







|




7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
..
45
46
47
48
49
50
51
52
53
54
55
56
#    May you find forgiveness for yourself and forgive others.
#    May you share freely, never taking more than you give.
#
#***********************************************************************
# This file implements regression tests for SQLite library.
# This file implements tests for the page_size PRAGMA.
#
# $Id: pagesize.test,v 1.2 2004/09/02 15:49:08 drh Exp $


set testdir [file dirname $argv0]
source $testdir/tester.tcl

do_test pagesize-1.1 {
  execsql {PRAGMA page_size}
................................................................................
  sqlite3 db test.db
  execsql {
    PRAGMA page_size
  }
} 2048
do_test pagesize-1.6 {
  file size test.db
} 4096



finish_test