[DRE-commits] [ruby-kgio] 01/01: Apply patch from upstream to fix test failure

Christian Hofstaedtler zeha at moszumanska.debian.org
Wed Apr 9 21:58:34 UTC 2014


This is an automated email from the git hooks/post-receive script.

zeha pushed a commit to branch master
in repository ruby-kgio.

commit 9c539e5b51962ff17d3fca3c98223c9502f61104
Author: Christian Hofstaedtler <zeha at debian.org>
Date:   Wed Apr 9 23:58:09 2014 +0200

    Apply patch from upstream to fix test failure
---
 debian/changelog        | 10 +++++++++-
 debian/patches/fix-test | 16 ++++++++++++++++
 debian/patches/series   |  1 +
 3 files changed, 26 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index aa6d279..73f524c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,18 @@
 ruby-kgio (2.9.2-1) unstable; urgency=medium
 
+  * Team upload.
+
+  [ Hleb Valoshka ]
   * New upstream release.
   * Remove no more needed patch 0001-Disable-test_poll_EINTR_changed.patch.
   * Bump Standards-Version to 3.9.5 (no changes required).
 
- -- Hleb Valoshka <375gnu at gmail.com>  Sun, 06 Apr 2014 21:43:24 +0300
+  [ Christian Hofstaedtler ]
+  * Add patch from upstream to fix failing test
+    "test_trywritev_return_wait_writable(TesTcpServerReadClientWrite)".
+    Thanks to Eric Wong <normalperson at yhbt.net>.
+
+ -- Christian Hofstaedtler <zeha at debian.org>  Wed, 09 Apr 2014 22:13:15 +0200
 
 ruby-kgio (2.8.1-1) unstable; urgency=low
 
diff --git a/debian/patches/fix-test b/debian/patches/fix-test
new file mode 100644
index 0000000..39734ee
--- /dev/null
+++ b/debian/patches/fix-test
@@ -0,0 +1,16 @@
+Patch from Upstream, Eric Wrong <normalperson at yhbt.net>
+
+Index: ruby-kgio/test/lib_read_write.rb
+===================================================================
+--- ruby-kgio.orig/test/lib_read_write.rb	2014-04-09 22:16:28.317721512 +0200
++++ ruby-kgio/test/lib_read_write.rb	2014-04-09 22:16:37.845700891 +0200
+@@ -292,7 +292,8 @@ module LibReadWriteTest
+     assert_equal :wait_writable, tmp.pop
+     assert tmp.size > 0
+     penultimate = tmp.pop
+-    assert(penultimate == "I" || penultimate == nil)
++    assert(penultimate == ["I"] || penultimate == nil,
++           "penultimate is #{penultimate.inspect}")
+     assert tmp.size > 0
+     tmp.each { |count| assert_equal nil, count }
+   end
diff --git a/debian/patches/series b/debian/patches/series
index e69de29..d3dd385 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix-test

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-kgio.git



More information about the Pkg-ruby-extras-commits mailing list