os/persistentdata/persistentstorage/sqlite3api/TEST/TclScript/tkt2213.test
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200 (2012-06-15)
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
sl@0
     1
# 2007 Febuary 05
sl@0
     2
#
sl@0
     3
# The author disclaims copyright to this source code.  In place of
sl@0
     4
# a legal notice, here is a blessing:
sl@0
     5
#
sl@0
     6
#    May you do good and not evil.
sl@0
     7
#    May you find forgiveness for yourself and forgive others.
sl@0
     8
#    May you share freely, never taking more than you give.
sl@0
     9
#
sl@0
    10
#***********************************************************************
sl@0
    11
# This file implements regression tests for SQLite library.
sl@0
    12
#
sl@0
    13
# This file implements tests to verify that ticket #2213 has been
sl@0
    14
# fixed.  
sl@0
    15
#
sl@0
    16
#
sl@0
    17
# $Id: tkt2213.test,v 1.2 2008/07/12 14:52:20 drh Exp $
sl@0
    18
sl@0
    19
set testdir [file dirname $argv0]
sl@0
    20
source $testdir/tester.tcl
sl@0
    21
sl@0
    22
do_test tkt2213-1 {
sl@0
    23
  sqlite3_create_function db
sl@0
    24
  catchsql {
sl@0
    25
    SELECT tkt2213func(tkt2213func('abcd'));
sl@0
    26
  }
sl@0
    27
} {0 abcd}
sl@0
    28
sl@0
    29
finish_test