]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Disable the unreadable file test (attach-6.2) under windows because of
authordrh <drh@noemail.net>
Wed, 4 Jun 2003 12:31:53 +0000 (12:31 +0000)
committerdrh <drh@noemail.net>
Wed, 4 Jun 2003 12:31:53 +0000 (12:31 +0000)
problems in the OS. (CVS 1000)

FossilOrigin-Name: 4bfb30d20bdd33c6e26c8fb8392a75d3cf2ee4bd

manifest
manifest.uuid
test/attach.test

index af58a13bf365ca488e17ecfb22a460ba839eb9f3..a6196213d39797b046a4bf59f08eef5e397f4933 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Avoid\scorrupting\sindices\swhen\sdoing\sa\sREPLACE\son\sa\stable\swith\san\nINTEGER\sPRIMARY\sKEY\sthat\salso\shas\sanother\sindex.\s\sTicket\s#334.\s(CVS\s999)
-D 2003-06-04T12:23:31
+C Disable\sthe\sunreadable\sfile\stest\s(attach-6.2)\sunder\swindows\sbecause\sof\nproblems\sin\sthe\sOS.\s(CVS\s1000)
+D 2003-06-04T12:31:53
 F Makefile.in 1ff85c27d4350c74118341024e8a4fb2a04a3a43
 F Makefile.linux-gcc b86a99c493a5bfb402d1d9178dcdc4bd4b32f906
 F README f1de682fbbd94899d50aca13d387d1b3fd3be2dd
@@ -63,7 +63,7 @@ F src/vdbe.c 4170cba0a05da0a93dcd674859fc1ce18f3fb0a3
 F src/vdbe.h 985c24f312d10f9ef8f9a8b8ea62fcdf68e82f21
 F src/where.c 1e645d430cb4b347159c28c6085e9801160f2099
 F test/all.test 569a92a8ee88f5300c057cc4a8f50fbbc69a3242
-F test/attach.test 771334395ba0af08ec27b83f516978989e606e5a
+F test/attach.test fa2fd071e591e9b2254f69a1224059de525b16ca
 F test/auth.test dee78be1f4f920bd6b15c4c947ce4d01bfe2826d
 F test/bigfile.test 1cd8256d4619c39bea48147d344f348823e78678
 F test/bigrow.test 8ab252dba108f12ad64e337b0f2ff31a807ac578
@@ -165,7 +165,7 @@ F www/speed.tcl cb4c10a722614aea76d2c51f32ee43400d5951be
 F www/sqlite.tcl 4bd1729e320f5fa9125f0022b281fbe839192125
 F www/tclsqlite.tcl 1db15abeb446aad0caf0b95b8b9579720e4ea331
 F www/vdbe.tcl 2013852c27a02a091d39a766bc87cff329f21218
-P 3e8889d7ce5e99fc855526fc1bb62ddbe282bfc5
-R 9165bb0816719b739dc59ff58a777b66
+P e813faae0e4086571d13c769f793add7f1f979af
+R 7a171aa05de27c25e9ddf0ac9a9d987c
 U drh
-Z 94bfab46c8d22deaac737964000d29aa
+Z 09fdaaa7530512cf34b726cc19e00b04
index 790a33f06d6282668a08b05931d3fb0468a32bc1..fdcfa4a09cd912bfb029e96cd105dd6b22637d08 100644 (file)
@@ -1 +1 @@
-e813faae0e4086571d13c769f793add7f1f979af
\ No newline at end of file
+4bfb30d20bdd33c6e26c8fb8392a75d3cf2ee4bd
\ No newline at end of file
index f3ca1881a9f630a63fa57589770cc716ffcfe13f..582368b77443877a7910c485bd25806f673729bd 100644 (file)
@@ -12,7 +12,7 @@
 # focus of this script is testing the ATTACH and DETACH commands
 # and related functionality.
 #
-# $Id: attach.test,v 1.7 2003/06/03 01:47:12 drh Exp $
+# $Id: attach.test,v 1.8 2003/06/04 12:31:53 drh Exp $
 #
 
 set testdir [file dirname $argv0]
@@ -559,17 +559,18 @@ do_test attach-6.1 {
   }
 } {1 {cannot attach empty database: nosuch}}
 file delete -force no-such-file
-do_test attach-6.2 {
-  sqlite dbx cannot-read
-  dbx eval {CREATE TABLE t1(a,b,c)}
-  dbx close
-  catch {file attributes cannot-read -permission 0000}
-  catch {file attributes cannot-read -readonly 1}
-  catchsql {
-    ATTACH DATABASE 'cannot-read' AS noread;
-  }
-} {1 {unable to open database: cannot-read}}
-file delete -force cannot-read
+if {$tcl_platform(platform)=="unix"} {
+  do_test attach-6.2 {
+    sqlite dbx cannot-read
+    dbx eval {CREATE TABLE t1(a,b,c)}
+    dbx close
+    file attributes cannot-read -permission 0000
+    catchsql {
+      ATTACH DATABASE 'cannot-read' AS noread;
+    }
+  } {1 {unable to open database: cannot-read}}
+  file delete -force cannot-read
+}
 
 for {set i 2} {$i<=15} {incr i} {
   catch {db$i close}