/ Check-in [13e96376]
Login

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

Overview
Comment:Print a warning in oserror-1.1.1 that a valgrind warning might occur but that it is benign.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:13e96376e11d71d203f7b67c12272e8762200876
User & Date: drh 2011-06-22 15:21:48
Context
2011-06-22
15:40
Update a test case for Windows that failed because of size_hint implementation differences. check-in: f853fa63 user: shaneh tags: trunk
15:21
Print a warning in oserror-1.1.1 that a valgrind warning might occur but that it is benign. check-in: 13e96376 user: drh tags: trunk
14:43
Adjust a test case in triggerC.test to handle non-default SQLITE_MAX_TRIGGER_DEPTH settings. check-in: f14339c5 user: shaneh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/oserror.test.

    47     47   # Test a failure in open() due to too many files. 
    48     48   #
    49     49   # The xOpen() method of the unix VFS calls getcwd() as well as open().
    50     50   # Although this does not appear to be documented in the man page, on OSX
    51     51   # a call to getcwd() may fail if there are no free file descriptors. So
    52     52   # an error may be reported for either open() or getcwd() here.
    53     53   #
           54  +puts "Possible valgrind error about invalid file descriptor follows:"
    54     55   do_test 1.1.1 {
    55     56     set ::log [list]
    56     57     list [catch {
    57     58       for {set i 0} {$i < 2000} {incr i} { sqlite3 dbh_$i test.db -readonly 1 }
    58     59     } msg] $msg
    59     60   } {1 {unable to open database file}}
    60     61   do_test 1.1.2 {