From: 375gnu <375gnu@gmail.com>
To: kgio@librelist.org
Subject: Re: kgio test_signal_close failed
Date: Tue, 6 Mar 2012 19:34:31 +0300 [thread overview]
Message-ID: <CAAB-Kcm=_CRa4UoSQt+C4cHk6z2Rpfsv6_KXPHV3R34Gt6sLiQ@mail.gmail.com> (raw)
In-Reply-To: 20120305223015.GA15306@dcvr.yhbt.net
On 3/6/12, Eric Wong <normalperson@yhbt.net> wrote:
> Odd, I can't reproduce under kvm (Debian wheezy + custom 3.3.0-rc4
> kernel). Are you on 2.6.38 kernel by any chance? Some versions of that
> had weird signal issues.
No, I'm using kernel 3.2.*
> Perhaps this makes the test less bad?
> - assert_raises(IOError) { Kgio.poll({@rd => Kgio::POLLIN}) }
> + assert_raises(IOError) do
> + result = Kgio.poll({@rd => Kgio::POLLIN})
> + result.each_key { |io| io.read_nonblock(1) }
> + end
Yes! It works! I've run test 50 times and everyone's passed!
--
https://375gnu.wordpress.com/
https://launchpad.net/~375gnu/+archive/ppa
next prev parent reply other threads:[~2012-03-06 16:34 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-04 16:12 kgio test_signal_close failed 375gnu
2012-03-04 19:17 ` Eric Wong
2012-03-05 18:56 ` 375gnu
2012-03-05 22:30 ` Eric Wong
2012-03-06 16:34 ` 375gnu [this message]
2012-03-07 9:17 ` Eric Wong
2012-03-07 9:51 ` Iñaki Baz Castillo
2012-03-07 10:16 ` Eric Wong
2012-03-07 10:23 ` Iñaki Baz Castillo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://yhbt.net/kgio/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAAB-Kcm=_CRa4UoSQt+C4cHk6z2Rpfsv6_KXPHV3R34Gt6sLiQ@mail.gmail.com' \
--to=375gnu@gmail.com \
--cc=kgio@librelist.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhbt.net/kgio.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).