diff options
Diffstat (limited to 'test/attach.test')
-rw-r--r-- | test/attach.test | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/test/attach.test b/test/attach.test index 1c165cf9c..6915ef177 100644 --- a/test/attach.test +++ b/test/attach.test @@ -12,7 +12,7 @@ # focus of this script is testing the ATTACH and DETACH commands # and related functionality. # -# $Id: attach.test,v 1.23 2004/06/09 00:48:15 drh Exp $ +# $Id: attach.test,v 1.24 2004/06/19 00:16:31 drh Exp $ # set testdir [file dirname $argv0] @@ -33,7 +33,7 @@ do_test attach-1.1 { } } {1 2 3 4} do_test attach-1.2 { - sqlite db2 test2.db + sqlite3 db2 test2.db execsql { CREATE TABLE t2(x,y); INSERT INTO t2 VALUES(1,'x'); @@ -286,7 +286,7 @@ do_test attach-2.15 { } {table t2 t2 table tx tx trigger r1 t2 index i2 t2} do_test attach-2.16 { db close - sqlite db test.db + sqlite3 db test.db execsql { ATTACH 'test2.db' AS db2; SELECT type, name, tbl_name FROM db2.sqlite_master; @@ -296,8 +296,8 @@ do_test attach-2.16 { do_test attach-3.1 { db close db2 close - sqlite db test.db - sqlite db2 test2.db + sqlite3 db test.db + sqlite3 db2 test2.db execsql { SELECT * FROM t1 } @@ -401,7 +401,7 @@ do_test attach-3.15 { do_test attach-4.1 { execsql {DETACH db2} db2 close - sqlite db2 test2.db + sqlite3 db2 test2.db execsql { CREATE TABLE t3(x,y); CREATE UNIQUE INDEX t3i1 ON t3(x); @@ -510,10 +510,10 @@ do_test attach-4.13 { # do_test attach-5.1 { db close - sqlite db test.db + sqlite3 db test.db db2 close file delete -force test2.db - sqlite db2 test2.db + sqlite3 db2 test2.db catchsql { ATTACH DATABASE 'test.db' AS orig; CREATE TRIGGER r1 AFTER INSERT ON orig.t1 BEGIN; @@ -598,7 +598,7 @@ do_test attach-6.1 { } {0 {}} if {$tcl_platform(platform)=="unix"} { do_test attach-6.2 { - sqlite dbx cannot-read + sqlite3 dbx cannot-read dbx eval {CREATE TABLE t1(a,b,c)} dbx close file attributes cannot-read -permission 0000 |