Skip to content

Commit

Permalink
On amd64, RUBY_PLATFORM is x86_64-netbsd6.99.7.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nurse committed Jul 30, 2012
1 parent 0e15934 commit e62ee61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/ruby/test_process.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1448,7 +1448,7 @@ def test_daemon_readwrite
assert_equal("ok?\n", data)
end

if File.directory?("/proc/self/task") && /netbsdelf[1-6]/ !~ RUBY_PLATFORM
if File.directory?("/proc/self/task") && /netbsd[a-z]*[1-6]/ !~ RUBY_PLATFORM
def test_daemon_no_threads
pid, data = IO.popen("-", "r+") do |f|
break f.pid, f.readlines if f
Expand Down

0 comments on commit e62ee61

Please sign in to comment.