/ Check-in [4c1818ec]
Login

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

Overview
Comment:Changes to the enc2.test script so that it will run on windows. (CVS 3004)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 4c1818ecebc79f5f7e5f4a7843b5fae02a251f47
User & Date: drh 2006-01-23 15:59:55
Context
2006-01-23
16:21
Add "#ifndef NDEBUG" around sqlite3pager_iswriteable() (only used in assert() expressions). Also set the internal page number of a page to zero if it fails to initialise. (CVS 3005) check-in: 77969c67 user: danielk1977 tags: trunk
15:59
Changes to the enc2.test script so that it will run on windows. (CVS 3004) check-in: 4c1818ec user: drh tags: trunk
15:54
Cut over the patches to support WinCE. Ticket #1600. (CVS 3003) check-in: 436287c2 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Show Whitespace Changes Patch

Changes to test/enc2.test.

     9      9   #
    10     10   #***********************************************************************
    11     11   # This file implements regression tests for SQLite library.  The focus of
    12     12   # this file is testing the SQLite routines used for converting between the
    13     13   # various suported unicode encodings (UTF-8, UTF-16, UTF-16le and
    14     14   # UTF-16be).
    15     15   #
    16         -# $Id: enc2.test,v 1.26 2006/01/11 14:09:32 danielk1977 Exp $
           16  +# $Id: enc2.test,v 1.27 2006/01/23 15:59:55 drh Exp $
    17     17   
    18     18   set testdir [file dirname $argv0]
    19     19   source $testdir/tester.tcl
    20     20   
    21     21   # If UTF16 support is disabled, ignore the tests in this file
    22     22   #
    23     23   ifcapable {!utf16} {
................................................................................
   311    311   # The following tests - enc2-6.* - test that SQLite selects the correct
   312    312   # user function when more than one is available.
   313    313   
   314    314   proc test_function {enc arg} {
   315    315     return "$enc $arg"
   316    316   }
   317    317   
          318  +db close
   318    319   file delete -force test.db
   319    320   sqlite3 db test.db; set DB [sqlite3_connection_pointer db]
   320    321   execsql {pragma encoding = 'UTF-8'}
   321    322   do_test enc2-6.0 {
   322    323     execsql {
   323    324       CREATE TABLE t5(a);
   324    325       INSERT INTO t5 VALUES('one');