diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | test/ruby/test_process.rb | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Sat Nov 24 12:47:27 2012 Hiroshi Shirosaki <h.shirosaki@gmail.com> + + * test/ruby/test_process.rb (TestProcess#test_setsid): "./ruby-trunk" + doesn't work on all environments. EnvUtil.rubybin would be suitable. + Sat Nov 24 12:28:04 2012 Hiroshi Shirosaki <h.shirosaki@gmail.com> * array.c (rb_ary_aref): fix Segmentation fault at TestArray#test_aref diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb index c4427be33c..ce80beabdd 100644 --- a/test/ruby/test_process.rb +++ b/test/ruby/test_process.rb @@ -1562,7 +1562,7 @@ class TestProcess < Test::Unit::TestCase return unless Process.respond_to?(:setsid) return unless Process.respond_to?(:getsid) - IO.popen(["./ruby-trunk", "-e", <<EOS]) do|io| + IO.popen([RUBY, "-e", <<EOS]) do|io| Marshal.dump(Process.getsid, STDOUT) newsid = Process.setsid Marshal.dump(newsid, STDOUT) |