diff options
Diffstat (limited to 'libraries/sqlite/unix/sqlite-3.5.1/test/tkt2213.test')
-rw-r--r-- | libraries/sqlite/unix/sqlite-3.5.1/test/tkt2213.test | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/libraries/sqlite/unix/sqlite-3.5.1/test/tkt2213.test b/libraries/sqlite/unix/sqlite-3.5.1/test/tkt2213.test new file mode 100644 index 0000000..3bd5867 --- /dev/null +++ b/libraries/sqlite/unix/sqlite-3.5.1/test/tkt2213.test | |||
@@ -0,0 +1,30 @@ | |||
1 | # 2007 Febuary 05 | ||
2 | # | ||
3 | # The author disclaims copyright to this source code. In place of | ||
4 | # a legal notice, here is a blessing: | ||
5 | # | ||
6 | # May you do good and not evil. | ||
7 | # May you find forgiveness for yourself and forgive others. | ||
8 | # May you share freely, never taking more than you give. | ||
9 | # | ||
10 | #*********************************************************************** | ||
11 | # This file implements regression tests for SQLite library. | ||
12 | # | ||
13 | # This file implements tests to verify that ticket #2213 has been | ||
14 | # fixed. | ||
15 | # | ||
16 | # | ||
17 | # $Id: tkt2213.test,v 1.1 2007/02/05 14:21:48 danielk1977 Exp $ | ||
18 | |||
19 | set testdir [file dirname $argv0] | ||
20 | source $testdir/tester.tcl | ||
21 | |||
22 | do_test tkt2213-1 { | ||
23 | sqlite3_create_function db | ||
24 | catchsql { | ||
25 | SELECT tkt2213func(tkt2213func('abcd')); | ||
26 | } | ||
27 | } {0 abcd} | ||
28 | |||
29 | finish_test | ||
30 | |||