File: disable_test_causing_segfault.patch

package info (click to toggle)
ruby-ferret 0.11.8.7-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 4,384 kB
  • sloc: ansic: 69,795; ruby: 6,918; makefile: 5
file content (17 lines) | stat: -rw-r--r-- 674 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Disable this test for the moment
 It causes segfaults with version 0.11.8.4, as it did with versions < 0.11.6
 https://github.com/jkraemer/ferret/issues/2#issuecomment-5713964
Author: Cédric Boutillier <cedric.boutillier@gmail.com>
Last-Update: 2012-06-14

--- a/test/unit/index/tc_index_writer.rb
+++ b/test/unit/index/tc_index_writer.rb
@@ -64,7 +64,7 @@
                            :default_field => 'content')
       iw << {:content => "http://" + 'x' * 255}
       # The following line will cause a segfault prior to 0.11.6
-      iw << {:content => "http://" + 'x' * 1_000_000}
+#      iw << {:content => "http://" + 'x' * 1_000_000}
   end
 
   private