30d0e9aa29
- autoconf no longer needed for build, libdl check finally upstreamed - nodirsync test-suite fiddling no longer seems necessary - update the broken oserror test patch to apply
37 lines
1.4 KiB
Diff
37 lines
1.4 KiB
Diff
diff -up sqlite-src-3070701/test/oserror.test.openfiles sqlite-src-3070701/test/oserror.test
|
|
--- sqlite-src-3070701/test/oserror.test.openfiles 2011-07-13 09:56:46.025857411 +0300
|
|
+++ sqlite-src-3070701/test/oserror.test 2011-07-13 09:57:11.634759798 +0300
|
|
@@ -51,19 +51,19 @@ proc do_re_test {tn script expression} {
|
|
# a call to getcwd() may fail if there are no free file descriptors. So
|
|
# an error may be reported for either open() or getcwd() here.
|
|
#
|
|
-puts "Possible valgrind error about invalid file descriptor follows:"
|
|
-do_test 1.1.1 {
|
|
- set ::log [list]
|
|
- list [catch {
|
|
- for {set i 0} {$i < 2000} {incr i} { sqlite3 dbh_$i test.db -readonly 1 }
|
|
- } msg] $msg
|
|
-} {1 {unable to open database file}}
|
|
-do_test 1.1.2 {
|
|
- catch { for {set i 0} {$i < 2000} {incr i} { dbh_$i close } }
|
|
-} {1}
|
|
-do_re_test 1.1.3 {
|
|
- lindex $::log 0
|
|
-} {^os_unix.c:\d+: \(\d+\) (open|getcwd)\(.*test.db\) - }
|
|
+#puts "Possible valgrind error about invalid file descriptor follows:"
|
|
+#do_test 1.1.1 {
|
|
+# set ::log [list]
|
|
+# list [catch {
|
|
+# for {set i 0} {$i < 2000} {incr i} { sqlite3 dbh_$i test.db -readonly 1 }
|
|
+# } msg] $msg
|
|
+#} {1 {unable to open database file}}
|
|
+#do_test 1.1.2 {
|
|
+# catch { for {set i 0} {$i < 2000} {incr i} { dbh_$i close } }
|
|
+#} {1}
|
|
+#do_re_test 1.1.3 {
|
|
+# lindex $::log 0
|
|
+#} {^os_unix.c:\d+: \(\d+\) (open|getcwd)\(.*test.db\) - }
|
|
|
|
|
|
# Test a failure in open() due to the path being a directory.
|