1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/persistentdata/persistentstorage/sqlite3api/TEST/TclScript/tkt2213.test Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,29 @@
1.4 +# 2007 Febuary 05
1.5 +#
1.6 +# The author disclaims copyright to this source code. In place of
1.7 +# a legal notice, here is a blessing:
1.8 +#
1.9 +# May you do good and not evil.
1.10 +# May you find forgiveness for yourself and forgive others.
1.11 +# May you share freely, never taking more than you give.
1.12 +#
1.13 +#***********************************************************************
1.14 +# This file implements regression tests for SQLite library.
1.15 +#
1.16 +# This file implements tests to verify that ticket #2213 has been
1.17 +# fixed.
1.18 +#
1.19 +#
1.20 +# $Id: tkt2213.test,v 1.2 2008/07/12 14:52:20 drh Exp $
1.21 +
1.22 +set testdir [file dirname $argv0]
1.23 +source $testdir/tester.tcl
1.24 +
1.25 +do_test tkt2213-1 {
1.26 + sqlite3_create_function db
1.27 + catchsql {
1.28 + SELECT tkt2213func(tkt2213func('abcd'));
1.29 + }
1.30 +} {0 abcd}
1.31 +
1.32 +finish_test