Fix recently added tests so that they work in all configurations.

FossilOrigin-Name: d0bcaf0cd92ae5bbea7ad68537ba89437d5c39e8
This commit is contained in:
drh
2016-07-23 14:50:26 +00:00
parent 194c21de34
commit 49dcd79e7d
4 changed files with 15 additions and 10 deletions
+1
View File
@@ -390,6 +390,7 @@ ifcapable shared_cache {
sqlite3 db file:test.db?cache=shared
do_execsql_test 4.0 {
PRAGMA auto_vacuum=NONE;
CREATE TABLE t1(a, b, c);
INSERT INTO t1 VALUES(1, 2, 3);
}
+6 -1
View File
@@ -17,6 +17,12 @@ set testdir [file dirname $argv0]
source $testdir/tester.tcl
set testprefix vacuummem
if {[permutation]=="memsubsys1"} {
finish_test
return
}
proc memory_used {} {
set stat [sqlite3_status SQLITE_STATUS_MEMORY_USED 1]
lindex $stat 1
@@ -51,4 +57,3 @@ do_test 1.5 { memory_used } {#/2300000/}
finish_test