diff options
Diffstat (limited to 'test/pragma.test')
-rw-r--r-- | test/pragma.test | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/test/pragma.test b/test/pragma.test index cb08e8ca7..365c67a56 100644 --- a/test/pragma.test +++ b/test/pragma.test @@ -12,7 +12,7 @@ # # This file implements tests for the PRAGMA command. # -# $Id: pragma.test,v 1.12 2004/05/26 06:58:45 danielk1977 Exp $ +# $Id: pragma.test,v 1.13 2004/06/19 00:16:31 drh Exp $ set testdir [file dirname $argv0] source $testdir/tester.tcl @@ -22,7 +22,7 @@ source $testdir/tester.tcl # db close file delete test.db -set DB [sqlite db test.db] +set DB [sqlite3 db test.db] do_test pragma-1.1 { execsql { @@ -43,7 +43,7 @@ do_test pragma-1.2 { } {1234 2000 1 1} do_test pragma-1.3 { db close - sqlite db test.db + sqlite3 db test.db execsql { PRAGMA cache_size; PRAGMA default_cache_size; @@ -80,7 +80,7 @@ do_test pragma-1.6 { } {4321 2000 1 1} do_test pragma-1.7 { db close - sqlite db test.db + sqlite3 db test.db execsql { PRAGMA cache_size; PRAGMA default_cache_size; @@ -108,7 +108,7 @@ do_test pragma-1.9 { } {123 123 0 0} do_test pragma-1.10 { db close - set ::DB [sqlite db test.db] + set ::DB [sqlite3 db test.db] execsql { PRAGMA cache_size; PRAGMA default_cache_size; @@ -136,7 +136,7 @@ do_test pragma-1.12 { } {123 123 2 0} do_test pragma-1.13 { db close - set ::DB [sqlite db test.db] + set ::DB [sqlite3 db test.db] execsql { PRAGMA cache_size; PRAGMA default_cache_size; @@ -155,7 +155,7 @@ do_test pragma-1.14 { } {123 123 2 2} do_test pragma-1.15 { db close - set ::DB [sqlite db test.db] + set ::DB [sqlite3 db test.db] execsql { PRAGMA cache_size; PRAGMA default_cache_size; @@ -167,7 +167,7 @@ do_test pragma-1.15 { # Construct a corrupted index and make sure the integrity_check # pragma finds it. # -if {![sqlite -has-codec]} { +if {![sqlite3 -has-codec]} { do_test pragma-3.1 { execsql { BEGIN; @@ -225,7 +225,7 @@ do_test pragma-4.6 { } {2} do_test pragma-4.7 { db close - sqlite db test.db + sqlite3 db test.db execsql { PRAGMA temp_store; } @@ -248,7 +248,7 @@ do_test pragma-4.10 { } {0} do_test pragma-4.11 { db close - sqlite db test.db + sqlite3 db test.db execsql { PRAGMA temp_store; } @@ -271,7 +271,7 @@ do_test pragma-4.14 { } {1} do_test pragma-4.15 { db close - sqlite db test.db + sqlite3 db test.db execsql { PRAGMA temp_store; } @@ -294,7 +294,7 @@ do_test pragma-4.18 { } {2} do_test pragma-4.19 { db close - sqlite db test.db + sqlite3 db test.db execsql { PRAGMA temp_store } |