mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-27 20:41:58 +03:00
Fix some test scripts so that they work with a minimal build configuration. (CVS 2241)
FossilOrigin-Name: d267fb3ca3f31ee138c9613cb84e873ede7f141a
This commit is contained in:
@ -11,7 +11,7 @@
|
||||
# This file implements regression tests for SQLite library. The
|
||||
# focus of this script testing the sqlite_bind API.
|
||||
#
|
||||
# $Id: bind.test,v 1.26 2005/01/12 00:08:25 drh Exp $
|
||||
# $Id: bind.test,v 1.27 2005/01/20 02:17:02 danielk1977 Exp $
|
||||
#
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
@ -494,8 +494,10 @@ catch {sqlite3_finalize $VM}
|
||||
|
||||
# Make sure we catch an unterminated "(" in a Tcl-style variable name
|
||||
#
|
||||
do_test bind-11.1 {
|
||||
catchsql {SELECT * FROM sqlite_master WHERE name=$abc(123 and sql NOT NULL;}
|
||||
} {1 {unrecognized token: "$abc(123"}}
|
||||
ifcapable tclvar {
|
||||
do_test bind-11.1 {
|
||||
catchsql {SELECT * FROM sqlite_master WHERE name=$abc(123 and sql NOT NULL;}
|
||||
} {1 {unrecognized token: "$abc(123"}}
|
||||
}
|
||||
|
||||
finish_test
|
||||
|
Reference in New Issue
Block a user