diff options
22 files changed, 22 insertions, 22 deletions
diff --git a/ext/-test-/bug-3571/bug.c b/ext/-test-/bug-3571/bug.c index 87a5df0588..a64f054740 100644 --- a/ext/-test-/bug-3571/bug.c +++ b/ext/-test-/bug-3571/bug.c @@ -16,7 +16,7 @@ bug_start(VALUE self, VALUE hash) } void -Init_bug(void) +Init_bug_3571(void) { VALUE mBug = rb_define_module("Bug"); rb_define_module_function(mBug, "start", bug_start, 0); diff --git a/ext/-test-/bug-3571/extconf.rb b/ext/-test-/bug-3571/extconf.rb index 10b3bb304b..7e76ebded6 100644 --- a/ext/-test-/bug-3571/extconf.rb +++ b/ext/-test-/bug-3571/extconf.rb @@ -1,2 +1,2 @@ # frozen_string_literal: false -create_makefile("-test-/bug-3571/bug") +create_makefile("-test-/bug_3571") diff --git a/ext/-test-/bug-5832/bug.c b/ext/-test-/bug-5832/bug.c index 67be5844b6..a2c3965640 100644 --- a/ext/-test-/bug-5832/bug.c +++ b/ext/-test-/bug-5832/bug.c @@ -7,7 +7,7 @@ bug_funcall_callback(VALUE self, VALUE obj) } void -Init_bug(void) +Init_bug_5832(void) { VALUE mBug = rb_define_module("Bug"); rb_define_module_function(mBug, "funcall_callback", bug_funcall_callback, 1); diff --git a/ext/-test-/bug-5832/extconf.rb b/ext/-test-/bug-5832/extconf.rb index 948e7791b6..b8452b4f8f 100644 --- a/ext/-test-/bug-5832/extconf.rb +++ b/ext/-test-/bug-5832/extconf.rb @@ -1,2 +1,2 @@ # frozen_string_literal: false -create_makefile("-test-/bug-5832/bug") +create_makefile("-test-/bug_5832") diff --git a/ext/-test-/bug_reporter/extconf.rb b/ext/-test-/bug_reporter/extconf.rb index fb2ed40342..d9d49bb23e 100644 --- a/ext/-test-/bug_reporter/extconf.rb +++ b/ext/-test-/bug_reporter/extconf.rb @@ -1,2 +1,2 @@ # frozen_string_literal: false -create_makefile("-test-/bug_reporter/bug_reporter") +create_makefile("-test-/bug_reporter") diff --git a/ext/-test-/funcall/extconf.rb b/ext/-test-/funcall/extconf.rb index 35c3078bf5..39d6134cba 100644 --- a/ext/-test-/funcall/extconf.rb +++ b/ext/-test-/funcall/extconf.rb @@ -1,3 +1,3 @@ # frozen_string_literal: false require 'mkmf' -create_makefile("-test-/funcall/funcall") +create_makefile("-test-/funcall") diff --git a/ext/-test-/iseq_load/extconf.rb b/ext/-test-/iseq_load/extconf.rb index c5bd6c0569..5858870138 100644 --- a/ext/-test-/iseq_load/extconf.rb +++ b/ext/-test-/iseq_load/extconf.rb @@ -1,2 +1,2 @@ # frozen_string_literal: false -create_makefile("-test-/iseq_load/iseq_load") +create_makefile("-test-/iseq_load") diff --git a/ext/-test-/load/dot.dot/extconf.rb b/ext/-test-/load/dot.dot/extconf.rb index b5292c77f0..13ebb1ffb4 100644 --- a/ext/-test-/load/dot.dot/extconf.rb +++ b/ext/-test-/load/dot.dot/extconf.rb @@ -1,2 +1,2 @@ # frozen_string_literal: false -create_makefile("-test-/load/dot.dot/dot.dot") +create_makefile("-test-/load/dot.dot") diff --git a/ext/-test-/num2int/extconf.rb b/ext/-test-/num2int/extconf.rb index c585462921..425f261f58 100644 --- a/ext/-test-/num2int/extconf.rb +++ b/ext/-test-/num2int/extconf.rb @@ -1,2 +1,2 @@ # frozen_string_literal: false -create_makefile("-test-/num2int/num2int") +create_makefile("-test-/num2int") diff --git a/ext/-test-/path_to_class/extconf.rb b/ext/-test-/path_to_class/extconf.rb index 8f05248d87..d465b36d9c 100644 --- a/ext/-test-/path_to_class/extconf.rb +++ b/ext/-test-/path_to_class/extconf.rb @@ -4,4 +4,4 @@ inits = $srcs.map {|s| File.basename(s, ".*")} inits.delete("init") inits.map! {|s|"X(#{s})"} $defs << "-DTEST_INIT_FUNCS(X)=\"#{inits.join(' ')}\"" -create_makefile("-test-/path_to_class/path_to_class") +create_makefile("-test-/path_to_class") diff --git a/ext/-test-/typeddata/extconf.rb b/ext/-test-/typeddata/extconf.rb index 84b92c7530..731701111b 100644 --- a/ext/-test-/typeddata/extconf.rb +++ b/ext/-test-/typeddata/extconf.rb @@ -1,2 +1,2 @@ # frozen_string_literal: false -create_makefile("-test-/typeddata/typeddata") +create_makefile("-test-/typeddata") diff --git a/ext/-test-/wait_for_single_fd/extconf.rb b/ext/-test-/wait_for_single_fd/extconf.rb index edb18746d1..931662c040 100644 --- a/ext/-test-/wait_for_single_fd/extconf.rb +++ b/ext/-test-/wait_for_single_fd/extconf.rb @@ -1,2 +1,2 @@ # frozen_string_literal: false -create_makefile("-test-/wait_for_single_fd/wait_for_single_fd") +create_makefile("-test-/wait_for_single_fd") diff --git a/test/-ext-/bug_reporter/test_bug_reporter.rb b/test/-ext-/bug_reporter/test_bug_reporter.rb index fb37658c92..7bfb660faf 100644 --- a/test/-ext-/bug_reporter/test_bug_reporter.rb +++ b/test/-ext-/bug_reporter/test_bug_reporter.rb @@ -14,7 +14,7 @@ class TestBugReporter < Test::Unit::TestCase ] tmpdir = Dir.mktmpdir - args = ["--disable-gems", "-r-test-/bug_reporter/bug_reporter", + args = ["--disable-gems", "-r-test-/bug_reporter", "-C", tmpdir] stdin = "register_sample_bug_reporter(12345); Process.kill :SEGV, $$" assert_in_out_err(args, stdin, [], expected_stderr, encoding: "ASCII-8BIT") diff --git a/test/-ext-/funcall/test_passing_block.rb b/test/-ext-/funcall/test_passing_block.rb index fac7eaf953..5112bc0925 100644 --- a/test/-ext-/funcall/test_passing_block.rb +++ b/test/-ext-/funcall/test_passing_block.rb @@ -7,7 +7,7 @@ class TestFuncall < Test::Unit::TestCase yield(*args) if block end end - require '-test-/funcall/funcall' + require '-test-/funcall' def test_with_funcall2 ok = nil diff --git a/test/-ext-/iseq_load/test_iseq_load.rb b/test/-ext-/iseq_load/test_iseq_load.rb index 7eb8f4bfc8..d193e37a4f 100644 --- a/test/-ext-/iseq_load/test_iseq_load.rb +++ b/test/-ext-/iseq_load/test_iseq_load.rb @@ -2,7 +2,7 @@ require 'test/unit' class TestIseqLoad < Test::Unit::TestCase - require '-test-/iseq_load/iseq_load' + require '-test-/iseq_load' ISeq = RubyVM::InstructionSequence def test_bug8543 diff --git a/test/-ext-/load/test_dot_dot.rb b/test/-ext-/load/test_dot_dot.rb index 1b2c871608..f087ff62c0 100644 --- a/test/-ext-/load/test_dot_dot.rb +++ b/test/-ext-/load/test_dot_dot.rb @@ -5,7 +5,7 @@ class Test_DotDot < Test::Unit::TestCase def test_load_dot_dot feature = '[ruby-dev:41774]' assert_nothing_raised(LoadError, feature) { - require '-test-/load/dot.dot/dot.dot' + require '-test-/load/dot.dot' } end end diff --git a/test/-ext-/num2int/test_num2int.rb b/test/-ext-/num2int/test_num2int.rb index c00bb56833..5f1f807565 100644 --- a/test/-ext-/num2int/test_num2int.rb +++ b/test/-ext-/num2int/test_num2int.rb @@ -1,6 +1,6 @@ # frozen_string_literal: false require 'test/unit' -require '-test-/num2int/num2int' +require '-test-/num2int' class TestNum2int < Test::Unit::TestCase SHRT_MIN = -32768 diff --git a/test/-ext-/path_to_class/test_path_to_class.rb b/test/-ext-/path_to_class/test_path_to_class.rb index 57e3a9233a..b67f20b462 100644 --- a/test/-ext-/path_to_class/test_path_to_class.rb +++ b/test/-ext-/path_to_class/test_path_to_class.rb @@ -2,7 +2,7 @@ require 'test/unit' class Test_PathToClass < Test::Unit::TestCase - require '-test-/path_to_class/path_to_class' + require '-test-/path_to_class' def test_path_to_class bug5691 = '[ruby-core:41410]' diff --git a/test/-ext-/test_bug-3571.rb b/test/-ext-/test_bug-3571.rb index dc9c92bd23..c75d2e8523 100644 --- a/test/-ext-/test_bug-3571.rb +++ b/test/-ext-/test_bug-3571.rb @@ -16,6 +16,6 @@ SRC "-:2:in `start'", "-:2:in `<main>'", ] - assert_in_out_err(%w"-r-test-/bug-3571/bug", src, [], out, bug3571) + assert_in_out_err(%w"-r-test-/bug_3571", src, [], out, bug3571) end end diff --git a/test/-ext-/test_bug-5832.rb b/test/-ext-/test_bug-5832.rb index 6812e64e5e..986a3706d8 100644 --- a/test/-ext-/test_bug-5832.rb +++ b/test/-ext-/test_bug-5832.rb @@ -1,5 +1,5 @@ # frozen_string_literal: false -require '-test-/bug-5832/bug' +require '-test-/bug_5832' class Test_BUG_5832 < Test::Unit::TestCase def test_block_passing diff --git a/test/-ext-/typeddata/test_typeddata.rb b/test/-ext-/typeddata/test_typeddata.rb index 058b7b70c5..6f649ca08f 100644 --- a/test/-ext-/typeddata/test_typeddata.rb +++ b/test/-ext-/typeddata/test_typeddata.rb @@ -1,6 +1,6 @@ # frozen_string_literal: false require 'test/unit' -require "-test-/typeddata/typeddata" +require "-test-/typeddata" class Test_TypedData < Test::Unit::TestCase def test_wrong_argtype diff --git a/test/-ext-/wait_for_single_fd/test_wait_for_single_fd.rb b/test/-ext-/wait_for_single_fd/test_wait_for_single_fd.rb index d9fc52ebb2..d7bc827a6e 100644 --- a/test/-ext-/wait_for_single_fd/test_wait_for_single_fd.rb +++ b/test/-ext-/wait_for_single_fd/test_wait_for_single_fd.rb @@ -2,7 +2,7 @@ require 'test/unit' class TestWaitForSingleFD < Test::Unit::TestCase - require '-test-/wait_for_single_fd/wait_for_single_fd' + require '-test-/wait_for_single_fd' def with_pipe r, w = IO.pipe |