1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-14 00:22:38 +03:00

Minor changes to make some newer test cases work under more compile-time

options.

FossilOrigin-Name: 382eea36c56f866efee1321f643687a4061e8b9e
This commit is contained in:
drh
2016-12-27 02:43:47 +00:00
parent dfcfff646a
commit c595419910
5 changed files with 13 additions and 11 deletions

View File

@@ -23,6 +23,7 @@ ifcapable !wal {finish_test ; return }
set testprefix nockpt
do_execsql_test 1.0 {
PRAGMA auto_vacuum=OFF;
PRAGMA page_size = 1024;
PRAGMA journal_mode = wal;
CREATE TABLE c1(x, y, z);

View File

@@ -273,6 +273,7 @@ do_test shell1-3.2.4 {
catchcmd "test.db" ".bail OFF BAD"
} {1 {Usage: .bail on|off}}
ifcapable vtab {
# .databases List names and files of attached databases
do_test shell1-3.3.1 {
catchcmd "-csv test.db" ".databases"
@@ -281,6 +282,7 @@ do_test shell1-3.3.2 {
# extra arguments ignored
catchcmd "test.db" ".databases BAD"
} "/0.+main.+[string map {/ ".{1,2}"} [string range [get_pwd] 0 10]].*/"
}
# .dump ?TABLE? ... Dump the database in an SQL text format
# If TABLE specified, only dump tables matching

View File

@@ -14,6 +14,7 @@
set testdir [file dirname $argv0]
source $testdir/tester.tcl
ifcapable !vtab {finish_test; return}
set testprefix shell6
set CLI [test_find_cli]
db close
@@ -98,5 +99,3 @@ foreach {tn schema output} {
}
finish_test