diff options
| author | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-11-12 17:42:57 +0000 |
|---|---|---|
| committer | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-11-12 17:42:57 +0000 |
| commit | 3aaf92b5a119885aba0b1c41946b498426880399 (patch) | |
| tree | 0a46fa2bded7bb46b0af1f8144889b7fb4c04bfe /test/ruby | |
| parent | 80c32b2330a2d25111b54982f942f23641463ce3 (diff) | |
* test/ruby/test_io.rb (test_fcntl_dupfd): skip if Fcntl::DUPFD
is not defined. Pointed out by CHIKANAGA Tomoyuki. Thanks.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
| -rw-r--r-- | test/ruby/test_io.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb index 8bd0a4b90c..6382cd7a49 100644 --- a/test/ruby/test_io.rb +++ b/test/ruby/test_io.rb @@ -1927,7 +1927,7 @@ End IO.for_fd(fd).close end end - end + end if defined?(Fcntl::F_DUPFD) def test_cross_thread_close_fd skip "cross thread close causes hung-up if pipe." if /mswin|bccwin|mingw/ =~ RUBY_PLATFORM |
