[DRE-commits] [ruby-kgio] 01/01: Disable test_poll_EINTR_changed

Hleb Valoshka tsfgnu-guest at alioth.debian.org
Sat Sep 14 13:31:03 UTC 2013


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

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

commit 6a5547d8cde94f4d969c9ea5c551b73a42cc6b65
Author: Hleb Valoshka <375GNU at Gmail.COM>
Date:   Sat Sep 14 15:09:41 2013 +0300

    Disable test_poll_EINTR_changed
---
 .../0001-Disable-test_poll_EINTR_changed.patch     |   23 ++++++++++++++++++++
 debian/patches/series                              |    1 +
 2 files changed, 24 insertions(+)

diff --git a/debian/patches/0001-Disable-test_poll_EINTR_changed.patch b/debian/patches/0001-Disable-test_poll_EINTR_changed.patch
new file mode 100644
index 0000000..af407cd
--- /dev/null
+++ b/debian/patches/0001-Disable-test_poll_EINTR_changed.patch
@@ -0,0 +1,23 @@
+From: Hleb Valoshka <375GNU at Gmail.COM>
+Date: Sat, 14 Sep 2013 15:08:59 +0300
+Subject: Disable test_poll_EINTR_changed
+
+    Ruby's signal handling is too unreliable, so some SIG_USR1
+    may arrive when the test case is finished.
+---
+ test/test_poll.rb | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/test/test_poll.rb b/test/test_poll.rb
+index d9a2b07..fcfd015 100644
+--- a/test/test_poll.rb
++++ b/test/test_poll.rb
+@@ -87,7 +87,7 @@ class TestPoll < Test::Unit::TestCase
+       trap(:USR1, orig)
+   end
+ 
+-  def test_poll_EINTR_changed
++  def do_not_test_poll_EINTR_changed
+     ok = false
+     pollset = { @rd => Kgio::POLLIN }
+     orig = trap(:USR1) do
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..e0c875e
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Disable-test_poll_EINTR_changed.patch

-- 
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