Blame SOURCES/sqlite-3.7.7.1-stupid-openfiles-test.patch

fae39c
--- sqlite-src-3240000/test/oserror.test.old	2018-06-05 08:40:35.656122573 +0200
fae39c
+++ sqlite-src-3240000/test/oserror.test	2018-06-05 08:40:45.614935197 +0200
fae39c
@@ -51,20 +51,20 @@
fae39c
 # a call to getcwd() may fail if there are no free file descriptors. So
fae39c
 # an error may be reported for either open() or getcwd() here.
fae39c
 #
fae39c
-if {![clang_sanitize_address]} {
fae39c
-  do_test 1.1.1 {
fae39c
-    set ::log [list]
fae39c
-    list [catch {
fae39c
-      for {set i 0} {$i < 20000} {incr i} { sqlite3 dbh_$i test.db -readonly 1 }
fae39c
-    } msg] $msg
fae39c
-  } {1 {unable to open database file}}
fae39c
-  do_test 1.1.2 {
fae39c
-    catch { for {set i 0} {$i < 20000} {incr i} { dbh_$i close } }
fae39c
-  } {1}
fae39c
-  do_re_test 1.1.3 { 
fae39c
-    lindex $::log 0 
fae39c
-  } {^os_unix.c:\d+: \(\d+\) (open|getcwd)\(.*test.db\) - }
fae39c
-}
fae39c
+#if {![clang_sanitize_address]} {
fae39c
+#  do_test 1.1.1 {
fae39c
+#    set ::log [list]
fae39c
+#    list [catch {
fae39c
+#      for {set i 0} {$i < 20000} {incr i} { sqlite3 dbh_$i test.db -readonly 1 }
fae39c
+#    } msg] $msg
fae39c
+#  } {1 {unable to open database file}}
fae39c
+#  do_test 1.1.2 {
fae39c
+#    catch { for {set i 0} {$i < 20000} {incr i} { dbh_$i close } }
fae39c
+#  } {1}
fae39c
+#  do_re_test 1.1.3 { 
fae39c
+#    lindex $::log 0 
fae39c
+#  } {^os_unix.c:\d+: \(\d+\) (open|getcwd)\(.*test.db\) - }
fae39c
+#}
fae39c
 
fae39c
 
fae39c
 # Test a failure in open() due to the path being a directory.