assert_in_out_err with block ignores test_stdout
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ad01ea426c
commit
8f9b451dd8
@ -159,11 +159,11 @@ module DL
|
|||||||
# interface, below, should be used, since getpid() is a function and not a
|
# interface, below, should be used, since getpid() is a function and not a
|
||||||
# data object.)
|
# data object.)
|
||||||
# --- FreeBSD 8.0 dlsym(3)
|
# --- FreeBSD 8.0 dlsym(3)
|
||||||
assert_in_out_err([], <<-INPUT, /\A#<DL::Handle:0x[0-9a-f]+>\z/) do
|
assert_in_out_err(['-W0'], <<-INPUT, /\A#<DL::Handle:0x[0-9a-f]+>\z/)
|
||||||
|
require 'dl'
|
||||||
require 'objspace'
|
require 'objspace'
|
||||||
print DL::Handle::NEXT.inspect
|
print DL::Handle::NEXT.inspect
|
||||||
INPUT
|
INPUT
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end unless /mswin|mingw/ =~ RUBY_PLATFORM
|
end unless /mswin|mingw/ =~ RUBY_PLATFORM
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user