mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Update the misuse.test script so that it will work under Windows. Changes
to the speed testing script to support version 2.4.12. (CVS 560) FossilOrigin-Name: 232b7ef2c8207eb6d2564a641446267d3dec97af
This commit is contained in:
@ -13,7 +13,7 @@
|
||||
# This file implements tests for the SQLITE_MISUSE detection logic.
|
||||
# This test file leaks memory and file descriptors.
|
||||
#
|
||||
# $Id: misuse.test,v 1.1 2002/05/10 13:14:08 drh Exp $
|
||||
# $Id: misuse.test,v 1.2 2002/05/10 14:37:31 drh Exp $
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
source $testdir/tester.tcl
|
||||
@ -22,7 +22,7 @@ source $testdir/tester.tcl
|
||||
#
|
||||
do_test misuse-1.1 {
|
||||
db close
|
||||
set ::DB [sqlite db test.db]
|
||||
set ::DB [sqlite db test2.db]
|
||||
execsql {
|
||||
CREATE TABLE t1(a,b);
|
||||
INSERT INTO t1 VALUES(1,2);
|
||||
@ -58,7 +58,7 @@ do_test misuse-1.6 {
|
||||
#
|
||||
do_test misuse-2.1 {
|
||||
db close
|
||||
set ::DB [sqlite db test.db]
|
||||
set ::DB [sqlite db test2.db]
|
||||
execsql {
|
||||
SELECT * FROM t1
|
||||
}
|
||||
@ -87,7 +87,7 @@ do_test misuse-2.5 {
|
||||
#
|
||||
do_test misuse-3.1 {
|
||||
db close
|
||||
set ::DB [sqlite db test.db]
|
||||
set ::DB [sqlite db test2.db]
|
||||
execsql {
|
||||
SELECT * FROM t1
|
||||
}
|
||||
@ -116,7 +116,7 @@ do_test misuse-3.5 {
|
||||
#
|
||||
do_test misuse-4.1 {
|
||||
db close
|
||||
set ::DB [sqlite db test.db]
|
||||
set ::DB [sqlite db test2.db]
|
||||
execsql {
|
||||
SELECT * FROM t1
|
||||
}
|
||||
@ -145,7 +145,7 @@ do_test misuse-4.5 {
|
||||
#
|
||||
do_test misuse-5.1 {
|
||||
db close
|
||||
set ::DB [sqlite db test.db]
|
||||
set ::DB [sqlite db test2.db]
|
||||
execsql {
|
||||
SELECT * FROM t1
|
||||
}
|
||||
|
Reference in New Issue
Block a user