diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-07-30 05:56:51 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-07-30 05:56:51 +0000 |
commit | 787e40097bc59dbccd8a23f04f07de4965bc1b62 (patch) | |
tree | 26eba2cf539f7d2a7a7cefc46a68285aa68c2262 /test | |
parent | 83940fc310d45010fe452fcf4f6ffbaba0c3f5d6 (diff) | |
download | ruby-787e40097bc59dbccd8a23f04f07de4965bc1b62.tar.gz |
NetBSD's /proc/<pid>/task is broken.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_process.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb index a34da82d5b..1513cf4674 100644 --- a/test/ruby/test_process.rb +++ b/test/ruby/test_process.rb @@ -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 |