NetBSD's /proc/<pid>/task is broken.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2012-07-30 05:56:51 +00:00
parent 83940fc310
commit 787e40097b

View File

@ -1448,7 +1448,7 @@ class TestProcess < Test::Unit::TestCase
assert_equal("ok?\n", data)
end
if File.directory?("/proc/self/task")
if File.directory?("/proc/self/task") && /netbsdelf[1-6]/ !~ RUBY_PLATFORM
def test_daemon_no_threads
pid, data = IO.popen("-", "r+") do |f|
break f.pid, f.readlines if f