diff -Nru ruby-pygments.rb-1.2.0/debian/changelog ruby-pygments.rb-1.2.0/debian/changelog --- ruby-pygments.rb-1.2.0/debian/changelog 2019-05-06 01:01:37.000000000 +0000 +++ ruby-pygments.rb-1.2.0/debian/changelog 2019-05-06 11:27:24.000000000 +0000 @@ -1,3 +1,14 @@ +ruby-pygments.rb (1.2.0-4) unstable; urgency=high + + * Team upload. + + [ HIGUCHI Daisuke (VDR dai) ] + * Disable the test expecting a timeout (Closes: #928505) + - Thanks to Santiago Vila + * set urgency=high due to fix RC bug. + + -- HIGUCHI Daisuke (VDR dai) Mon, 06 May 2019 20:27:24 +0900 + ruby-pygments.rb (1.2.0-3) unstable; urgency=high * Team upload. diff -Nru ruby-pygments.rb-1.2.0/debian/patches/0010-Disable-the-test-expecting-a-timeout.patch ruby-pygments.rb-1.2.0/debian/patches/0010-Disable-the-test-expecting-a-timeout.patch --- ruby-pygments.rb-1.2.0/debian/patches/0010-Disable-the-test-expecting-a-timeout.patch 1970-01-01 00:00:00.000000000 +0000 +++ ruby-pygments.rb-1.2.0/debian/patches/0010-Disable-the-test-expecting-a-timeout.patch 2019-05-06 11:25:45.000000000 +0000 @@ -0,0 +1,24 @@ +Description: disable the test expecting a timeout +Author: Santiago Vila +Origin: vendor +Bug-Debian: https://bugs.debian.org/928505 +Forwarded: no +Last-Update: 2019-05-06 + +Index: ruby-pygments.rb/test/test_pygments.rb +=================================================================== +--- ruby-pygments.rb.orig/test/test_pygments.rb ++++ ruby-pygments.rb/test/test_pygments.rb +@@ -38,12 +38,6 @@ class PygmentsHighlightTest < Test::Unit + assert_equal 458511, code.bytesize.to_i + end + +- def test_returns_nil_on_timeout +- large_code = REDIS_CODE * 300 +- code = P.highlight(large_code) # a 30 mb highlight request will timeout +- assert_equal nil, code +- end +- + def test_highlight_works_with_null_bytes + code = P.highlight("\0hello", :lexer => 'rb') + assert_match "hello", code diff -Nru ruby-pygments.rb-1.2.0/debian/patches/series ruby-pygments.rb-1.2.0/debian/patches/series --- ruby-pygments.rb-1.2.0/debian/patches/series 2019-05-06 01:00:14.000000000 +0000 +++ ruby-pygments.rb-1.2.0/debian/patches/series 2019-05-06 11:23:59.000000000 +0000 @@ -7,3 +7,4 @@ 0007-no-relative-path-for-require-in-tests.patch 0008-Set-reasonable-upper-limit-to-RLIMIT_NOFILE.patch 0009-Remove-rubygem-for-ruby2.5.patch +0010-Disable-the-test-expecting-a-timeout.patch