Skip to content
Browse files

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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information...
1 parent 83940fc commit 787e40097bc59dbccd8a23f04f07de4965bc1b62 @nurse nurse committed Jul 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/ruby/test_process.rb
View
2 test/ruby/test_process.rb
@@ -1448,7 +1448,7 @@ def test_daemon_readwrite
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

0 comments on commit 787e400

Please sign in to comment.
Something went wrong with that request. Please try again.