diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-30 01:29:57 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-30 01:29:57 +0000 |
commit | d8da36dd227122126db565f056cbb3c3493d7c33 (patch) | |
tree | d50e7810c9d462b166ec4d4cb27a1aff1d027c19 /test | |
parent | 9674860077c266094c545d61d4899abcee71df44 (diff) | |
download | ruby-d8da36dd227122126db565f056cbb3c3493d7c33.tar.gz |
Refix r38002: capture_subprocess_io also doesn't fork
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/dl/test_handle.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dl/test_handle.rb b/test/dl/test_handle.rb index c6aae89f69..dc75605a2a 100644 --- a/test/dl/test_handle.rb +++ b/test/dl/test_handle.rb @@ -159,11 +159,11 @@ module DL # interface, below, should be used, since getpid() is a function and not a # data object.) # --- FreeBSD 8.0 dlsym(3) - out, err = capture_subprocess_io do + assert_in_out_err([], <<-INPUT, /\A#<DL::Handle:0x[0-9a-f]+>\z/) do require 'objspace' print DL::Handle::NEXT.inspect + INPUT end - assert_match(/\A#<DL::Handle:0x[0-9a-f]+>\z/, out + err) end end unless /mswin|mingw/ =~ RUBY_PLATFORM |