aboutsummaryrefslogtreecommitdiff
path: root/test/index2.test
diff options
context:
space:
mode:
authordanielk1977 <danielk1977@noemail.net>2005-01-20 02:17:01 +0000
committerdanielk1977 <danielk1977@noemail.net>2005-01-20 02:17:01 +0000
commit4489f9bdece56d35df259b8cd1946900b63f89cc (patch)
tree50e441faccc28aa3adf7cf1c5f3a6885ac839cef /test/index2.test
parent1bd3644f27470e6446a9c2c21ccdd2a2aeffa565 (diff)
downloadsqlite-4489f9bdece56d35df259b8cd1946900b63f89cc.tar.gz
sqlite-4489f9bdece56d35df259b8cd1946900b63f89cc.zip
Fix some test scripts so that they work with a minimal build configuration. (CVS 2241)
FossilOrigin-Name: d267fb3ca3f31ee138c9613cb84e873ede7f141a
Diffstat (limited to 'test/index2.test')
-rw-r--r--test/index2.test6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/index2.test b/test/index2.test
index e230f069e..174212cb3 100644
--- a/test/index2.test
+++ b/test/index2.test
@@ -11,7 +11,7 @@
# This file implements regression tests for SQLite library. The
# focus of this file is testing the CREATE INDEX statement.
#
-# $Id: index2.test,v 1.1 2005/01/11 16:54:15 drh Exp $
+# $Id: index2.test,v 1.2 2005/01/20 02:17:02 danielk1977 Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@@ -65,7 +65,9 @@ do_test index2-2.1 {
execsql $sql
} {}
do_test index2-2.2 {
- execsql {EXPLAIN SELECT c9 FROM t1 ORDER BY c1, c2, c3, c4, c5}
+ ifcapable explain {
+ execsql {EXPLAIN SELECT c9 FROM t1 ORDER BY c1, c2, c3, c4, c5}
+ }
execsql {SELECT c9 FROM t1 ORDER BY c1, c2, c3, c4, c5, c6 LIMIT 5}
} {9 10009 20009 30009 40009}