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

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