Skip to content

Commit 298534a

Browse files
committed
Exclude MRI test TestRubyOptions#test_set_program_name
It fails because a spawned process fails with exception because of not implemented method Process.arg0. But the test may also pass because it may check a spawned process name before it stops with error. So some CI builds pass and some fails with error ``` 1) Failure: TestRubyOptions#test_set_program_name [/Users/graal1/slave/e/main/test/mri/tests/ruby/test_rubyoptions.rb:694]: Expected /hello world/ to match "COMMAND\n" + "(ruby)\n". ```
1 parent df7be7e commit 298534a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/mri/excludes/TestRubyOptions.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
exclude :test_separator, "pid 86222 exit 1"
1515
exclude :test_cwd_encoding, "pid 86223 exit 1"
1616
exclude :test_chdir, "pid 86224 exit 1"
17+
exclude :test_set_program_name, "Expected /hello world/ to match \"COMMAND\\n\" + \"(truffleruby)\\n\"."
1718
exclude :test_indentation_check, ""
1819
exclude :test_disable, "pid 86382 exit 0."
1920
exclude :test_flag_in_shebang, "pid 86383 exit 0."

0 commit comments

Comments
 (0)