diff options
author | Eric Wong <ew@debkfreebsd.(none)> | 2012-07-02 03:16:09 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2012-07-11 15:28:04 -0700 |
commit | c79babfd175aa7b4be9d4d1a10a64c17b93730a0 (patch) | |
tree | 7e82cd14847dc19b2648475b9fb6882eb06a22d8 /test | |
parent | ff27e74a49bf6746ffe74cfc865430221f0bafe0 (diff) | |
download | kgio-c79babfd175aa7b4be9d4d1a10a64c17b93730a0.tar.gz |
This cascades test failures on a platform with questionable signal/fork handling. Tested on: Debian GNU/kFreeBSD 6.0
Diffstat (limited to 'test')
-rw-r--r-- | test/test_poll.rb | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/test/test_poll.rb b/test/test_poll.rb index 40092cf..3aa8c1f 100644 --- a/test/test_poll.rb +++ b/test/test_poll.rb @@ -126,9 +126,7 @@ class TestPoll < Test::Unit::TestCase _, status = Process.waitpid2(pid) assert status.success?, status.inspect assert usr1 > 0, "usr1: #{usr1}" - rescue Object => err - p [ :err, err ] - ensure - trap(:USR1, "DEFAULT") - end + ensure + trap(:USR1, "DEFAULT") + end unless RUBY_PLATFORM =~ /kfreebsd-gnu/ end if Kgio.respond_to?(:poll) |