File: 0002-deactivate-reader_blocking-test.patch

package info (click to toggle)
ruby-nokogiri 1.18.10%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,088 kB
  • sloc: ansic: 38,893; xml: 27,665; ruby: 27,508; java: 15,398; cpp: 7,107; yacc: 244; sh: 208; makefile: 149; sed: 14
file content (24 lines) | stat: -rw-r--r-- 760 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: =?utf-8?q?C=C3=A9dric_Boutillier?= <boutil@debian.org>
Date: Mon, 14 Nov 2016 11:58:02 -0200
Subject: deactivate reader_blocking test

It makes the test suite hang on Debian kFreeBSD ports

https://github.com/sparklemotion/nokogiri/issues/965
---
 test/xml/test_reader.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/xml/test_reader.rb b/test/xml/test_reader.rb
index 4b5b5c5..f1ba469 100644
--- a/test/xml/test_reader.rb
+++ b/test/xml/test_reader.rb
@@ -52,7 +52,7 @@ module Nokogiri
 
       # Issue #831
       # Make sure that the reader doesn't block reading the entire input
-      def test_reader_blocking
+      def _test_reader_blocking
         rd, wr = IO.pipe
         node_out = nil
         t = Thread.start do