
Also rationalize the test to see if a function has been called. Still not great, but getting there :)
22 lines
310 B
Ruby
22 lines
310 B
Ruby
require 'test/unit'
|
|
require 'environment'
|
|
require 'ld_preload'
|
|
require 'proxy_tests'
|
|
|
|
class TestProxyMode < Test::Unit::TestCase
|
|
|
|
include LdPreload
|
|
include ProxyTests
|
|
|
|
def setup
|
|
super
|
|
@env = Environment.new
|
|
@env.writefile1('f' * 16)
|
|
end
|
|
|
|
def teardown
|
|
@env.cleanup
|
|
super
|
|
end
|
|
end
|