about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorew@fbsd90-32.(none) <ew@fbsd90-32.(none)>2012-07-11 02:02:43 +0000
committerEric Wong <normalperson@yhbt.net>2012-07-12 12:30:55 -0700
commit00b84b3d2d9bec7ed480a0715408148af0a0d057 (patch)
tree0471b513cf42d8f6c0449eb8f3d6a1dfd6593103
parent78c63761660a96f96e8f465c4cecedd803df9afe (diff)
downloadruby_posix_mq-00b84b3d2d9bec7ed480a0715408148af0a0d057.tar.gz
-rw-r--r--test/test_posix_mq.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_posix_mq.rb b/test/test_posix_mq.rb
index 8d6b014..82ab868 100644
--- a/test/test_posix_mq.rb
+++ b/test/test_posix_mq.rb
@@ -257,7 +257,7 @@ class Test_POSIX_MQ < Test::Unit::TestCase
     assert_nil IO.select([rd], nil, nil, 0.1)
     ensure
       trap(:USR1, orig)
-  end
+  end if POSIX_MQ.method_defined?(:to_io)
 
   def test_notify_none
     @mq = POSIX_MQ.new @path, IO::CREAT|IO::RDWR, 0666