/ Check-in [71e4e97d]
Login

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

Overview
Comment:Run quota-stdio tests in binary mode so that they work on windows.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | quota-stdio
Files: files | file ages | folders
SHA1: 71e4e97d9c883aa9f1d43d61543685924fc9339a
User & Date: drh 2011-12-01 22:12:58
Context
2011-12-02
15:27
Documentation improvements and additional test cases. check-in: fa718960 user: drh tags: quota-stdio
2011-12-01
22:12
Run quota-stdio tests in binary mode so that they work on windows. check-in: 71e4e97d user: drh tags: quota-stdio
22:07
Progress toward getting things to work better on windows. check-in: 253dd707 user: drh tags: quota-stdio
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/quota2.test.

    64     64       append bigtext [format "%06d " $i]
    65     65     }
    66     66   }
    67     67   
    68     68   catch { unset h1 }
    69     69   catch { unset x }
    70     70   do_test quota2-1.1 {
    71         -  set ::h1 [sqlite3_quota_fopen quota2a/xyz.txt w+]
           71  +  set ::h1 [sqlite3_quota_fopen quota2a/xyz.txt w+b]
    72     72     sqlite3_quota_fwrite $::h1 1 7000 $bigtext
    73     73   } {4000}
    74     74   do_test quota2-1.2 {
    75     75     set ::quota
    76     76   } {PWD/quota2a/xyz.txt 4000 7000}
    77     77   do_test quota2-1.3 {
    78     78     sqlite3_quota_rewind $::h1