aboutsummaryrefslogtreecommitdiff
path: root/test/insert.test
diff options
context:
space:
mode:
authordanielk1977 <danielk1977@noemail.net>2004-11-10 15:27:38 +0000
committerdanielk1977 <danielk1977@noemail.net>2004-11-10 15:27:38 +0000
commit45901d622c946a82441416e416bcb3581307bef1 (patch)
treeac74ec51ead777874e4538d68ed20410578533b1 /test/insert.test
parentae381aa1b6cb30a09f323355347746cf6c9183ab (diff)
downloadsqlite-45901d622c946a82441416e416bcb3581307bef1.tar.gz
sqlite-45901d622c946a82441416e416bcb3581307bef1.zip
Ensure the test suite can run with either SQLITE_OMIT_AUTOVACUUM or SQLITE_DEFAULT_AUTOVACUUM=1 defined. (CVS 2087)
FossilOrigin-Name: 0747b55882cf218c03b443e1eadec9eb19889554
Diffstat (limited to 'test/insert.test')
-rw-r--r--test/insert.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/insert.test b/test/insert.test
index 24580ca34..367722b52 100644
--- a/test/insert.test
+++ b/test/insert.test
@@ -11,7 +11,7 @@
# This file implements regression tests for SQLite library. The
# focus of this file is testing the INSERT statement.
#
-# $Id: insert.test,v 1.20 2004/11/07 13:01:50 drh Exp $
+# $Id: insert.test,v 1.21 2004/11/10 15:27:38 danielk1977 Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@@ -245,7 +245,7 @@ do_test insert-5.4 {
execsql {
SELECT rootpage FROM sqlite_master WHERE name='test1';
}
-} {2}
+} [expr $AUTOVACUUM?3:2]
do_test insert-5.5 {
# Verify that "t4" begins on page 3.
#