ruby-changes:27888
From: xibbar <ko1@a...>
Date: Tue, 26 Mar 2013 23:32:22 +0900 (JST)
Subject: [ruby-changes:27888] xibbar:r39940 (trunk): * test/dtrace/test_*.rb: use require_relative to require local library
xibbar 2013-03-26 23:31:31 +0900 (Tue, 26 Mar 2013) New Revision: 39940 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=39940 Log: * test/dtrace/test_*.rb: use require_relative to require local library Modified files: trunk/test/dtrace/test_array_create.rb trunk/test/dtrace/test_cmethod.rb trunk/test/dtrace/test_function_entry.rb trunk/test/dtrace/test_gc.rb trunk/test/dtrace/test_hash_create.rb trunk/test/dtrace/test_load.rb trunk/test/dtrace/test_object_create_start.rb trunk/test/dtrace/test_raise.rb trunk/test/dtrace/test_require.rb trunk/test/dtrace/test_singleton_function.rb trunk/test/dtrace/test_string.rb Index: test/dtrace/test_load.rb =================================================================== --- test/dtrace/test_load.rb (revision 39939) +++ test/dtrace/test_load.rb (revision 39940) @@ -1,4 +1,4 @@ https://github.com/ruby/ruby/blob/trunk/test/dtrace/test_load.rb#L1 -require 'dtrace/helper' +require_relative 'helper' require 'tempfile' module DTrace Index: test/dtrace/test_array_create.rb =================================================================== --- test/dtrace/test_array_create.rb (revision 39939) +++ test/dtrace/test_array_create.rb (revision 39940) @@ -1,4 +1,4 @@ https://github.com/ruby/ruby/blob/trunk/test/dtrace/test_array_create.rb#L1 -require 'dtrace/helper' +require_relative 'helper' module DTrace class TestArrayCreate < TestCase Index: test/dtrace/test_cmethod.rb =================================================================== --- test/dtrace/test_cmethod.rb (revision 39939) +++ test/dtrace/test_cmethod.rb (revision 39940) @@ -1,4 +1,4 @@ https://github.com/ruby/ruby/blob/trunk/test/dtrace/test_cmethod.rb#L1 -require 'dtrace/helper' +require_relative 'helper' module DTrace class TestCMethod < TestCase Index: test/dtrace/test_raise.rb =================================================================== --- test/dtrace/test_raise.rb (revision 39939) +++ test/dtrace/test_raise.rb (revision 39940) @@ -1,4 +1,4 @@ https://github.com/ruby/ruby/blob/trunk/test/dtrace/test_raise.rb#L1 -require 'dtrace/helper' +require_relative 'helper' module DTrace class TestRaise < TestCase Index: test/dtrace/test_function_entry.rb =================================================================== --- test/dtrace/test_function_entry.rb (revision 39939) +++ test/dtrace/test_function_entry.rb (revision 39940) @@ -1,4 +1,4 @@ https://github.com/ruby/ruby/blob/trunk/test/dtrace/test_function_entry.rb#L1 -require 'dtrace/helper' +require_relative 'helper' module DTrace class TestFunctionEntry < TestCase Index: test/dtrace/test_hash_create.rb =================================================================== --- test/dtrace/test_hash_create.rb (revision 39939) +++ test/dtrace/test_hash_create.rb (revision 39940) @@ -1,4 +1,4 @@ https://github.com/ruby/ruby/blob/trunk/test/dtrace/test_hash_create.rb#L1 -require 'dtrace/helper' +require_relative 'helper' module DTrace class TestHashCreate < TestCase Index: test/dtrace/test_object_create_start.rb =================================================================== --- test/dtrace/test_object_create_start.rb (revision 39939) +++ test/dtrace/test_object_create_start.rb (revision 39940) @@ -1,4 +1,4 @@ https://github.com/ruby/ruby/blob/trunk/test/dtrace/test_object_create_start.rb#L1 -require 'dtrace/helper' +require_relative 'helper' module DTrace class TestObjectCreateStart < TestCase Index: test/dtrace/test_string.rb =================================================================== --- test/dtrace/test_string.rb (revision 39939) +++ test/dtrace/test_string.rb (revision 39940) @@ -1,4 +1,4 @@ https://github.com/ruby/ruby/blob/trunk/test/dtrace/test_string.rb#L1 -require 'dtrace/helper' +require_relative 'helper' module DTrace class TestStringProbes < TestCase Index: test/dtrace/test_singleton_function.rb =================================================================== --- test/dtrace/test_singleton_function.rb (revision 39939) +++ test/dtrace/test_singleton_function.rb (revision 39940) @@ -1,4 +1,4 @@ https://github.com/ruby/ruby/blob/trunk/test/dtrace/test_singleton_function.rb#L1 -require 'dtrace/helper' +require_relative 'helper' module DTrace class TestSingletonFunctionEntry < TestCase Index: test/dtrace/test_gc.rb =================================================================== --- test/dtrace/test_gc.rb (revision 39939) +++ test/dtrace/test_gc.rb (revision 39940) @@ -1,4 +1,4 @@ https://github.com/ruby/ruby/blob/trunk/test/dtrace/test_gc.rb#L1 -require 'dtrace/helper' +require_relative 'helper' module DTrace class TestGC < TestCase Index: test/dtrace/test_require.rb =================================================================== --- test/dtrace/test_require.rb (revision 39939) +++ test/dtrace/test_require.rb (revision 39940) @@ -1,4 +1,4 @@ https://github.com/ruby/ruby/blob/trunk/test/dtrace/test_require.rb#L1 -require 'dtrace/helper' +require_relative 'helper' module DTrace class TestRequire < TestCase -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/