Project

General

Profile

Bug #941

ignores SIGQUIT on FreeBSD 7.1

Added by naruse (Yui NARUSE) over 10 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
ruby -v:
Backport:
[ruby-dev:37637]

Description

=begin
FreeBSD 7.1-PRERELEASE amd64 にて、SIGQUIT を無視してしまうようです。

1) Failure:
test_status_kill(TestProcess) [test/ruby/test_process.rb:941]:
Expected ["#",
"#"].include?(*["#"]) to return true.

書き換えると以下の通り

% cat wait.rb
sleep 10;
print "finished\n";
% ruby19 -e'pid=spawn("ruby19","wait.rb"); Thread.new{sleep 3; Process.kill(:SIGQUIT, pid) }; Process.wait(pid);;p $?'
finished
#

なお、spawn("perl" に書き換えるとちゃんと殺せます
=end

History

#1

Updated by yugui (Yuki Sonoda) over 10 years ago

  • Target version changed from 1.9.1 Release Candidate to 1.9.1 RC2

=begin

=end

#2

Updated by naruse (Yui NARUSE) over 10 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
Applied in changeset r21265.
=end

Also available in: Atom PDF