test_poll: preserve original trap(:USR1) handler
commit71f656e40de99d240c873ebb23451f76e46e5a20
authorEric Wong <e@yhbt.net>
Tue, 3 Sep 2013 22:47:20 +0000 (3 22:47 +0000)
committerEric Wong <normalperson@yhbt.net>
Tue, 3 Sep 2013 23:35:16 +0000 (3 23:35 +0000)
tree7f6c6f12c11fe162bb16a9e1de3b0099624c54f5
parent377028d998f32c9bf8926a275019445103328c3d
test_poll: preserve original trap(:USR1) handler

The existing SIGUSR1 handler may not always be "DEFAULT",
so restore the original one.
test/test_poll.rb