/ Check-in [75ed1bce]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Adjust test case in quota.test to handle Windows dir seperators.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 75ed1bcee85587ddd54269156aa53df5f456a6c4
User & Date: shaneh 2011-04-15 21:37:33
Context
2011-04-17
00:55
Adjust some test cases in triggerC.test to handle non-default SQLITE_MAX_TRIGGER_DEPTH settings. check-in: 9d6c6129 user: shaneh tags: trunk
2011-04-15
21:37
Adjust test case in quota.test to handle Windows dir seperators. check-in: 75ed1bce user: shaneh tags: trunk
20:18
Updates to test code in os_win to bring winSync inline with unixSync (test code only). Updated a few test scripts to account for dirsync counting issues on Windows. check-in: 8f99c5bf user: shaneh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/quota.test.

   198    198   do_test quota-3.2.9 { 
   199    199     catchsql { INSERT INTO t1 VALUES(randomblob(500), randomblob(500)) } db2b
   200    200   } {1 {database or disk is full}}
   201    201   
   202    202   set ::quota [list]
   203    203   proc quota_callback {file limitvar size} {
   204    204     upvar $limitvar limit
          205  +  if {$::tcl_platform(platform)=="windows"} {
          206  +    set file [ lindex [string map {\\ \/} $file] 0 ]
          207  +  }
   205    208     lappend ::quota $file $size
   206    209     set limit 0
   207    210   }
   208    211   sqlite3_quota_set * 4096 quota_callback
   209    212   do_test quota-3.3.1 { 
   210    213     execsql { INSERT INTO t1 VALUES(randomblob(500), randomblob(500)) } db1a
   211    214     execsql { INSERT INTO t1 VALUES(randomblob(500), randomblob(500)) } db1b