diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-10-06 00:16:52 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-10-06 00:16:52 +0000 |
commit | 6d757c79d95b12082d251dddd57d8ea481ae2487 (patch) | |
tree | 5594acbb03b0bbdf136d3dc944e646bfaa27abcd /test | |
parent | c55e4dd3422983cb142a267a5381f50b69f23409 (diff) |
test_thread.rb: ignore meaningless test
* test/ruby/test_thread.rb (test_blocking_mutex_unlocked_on_fork):
ignore meaningless test on platforms where fork() is not supported.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_thread.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_thread.rb b/test/ruby/test_thread.rb index 6d4237d7ff..ca3ab08e63 100644 --- a/test/ruby/test_thread.rb +++ b/test/ruby/test_thread.rb @@ -935,5 +935,5 @@ Thread.new(Thread.current) {|mth| pid, status = Process.waitpid2(pid) assert_equal(false, status.success?, bug8433) - end + end if Process.respond_to?(:fork) end |