1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Get the attach.test working on windows. (CVS 1508)

FossilOrigin-Name: 48226a73801bc478d6fd6de5a554aec5119d2194
This commit is contained in:
drh
2004-05-31 18:21:54 +00:00
parent d4acf19cb0
commit 02f9f6b38f
3 changed files with 10 additions and 9 deletions

View File

@ -12,7 +12,7 @@
# focus of this script is testing the ATTACH and DETACH commands
# and related functionality.
#
# $Id: attach.test,v 1.20 2004/05/31 08:55:34 danielk1977 Exp $
# $Id: attach.test,v 1.21 2004/05/31 18:21:55 drh Exp $
#
set testdir [file dirname $argv0]
@ -570,7 +570,6 @@ do_test attach-6.1 {
ATTACH DATABASE 'no-such-file' AS nosuch;
}
} {0 {}}
file delete -force no-such-file
if {$tcl_platform(platform)=="unix"} {
do_test attach-6.2 {
sqlite dbx cannot-read
@ -587,7 +586,9 @@ if {$tcl_platform(platform)=="unix"} {
for {set i 2} {$i<=15} {incr i} {
catch {db$i close}
}
db close
file delete -force test2.db
file delete -force no-such-file
finish_test