* test/ruby/test_signal.rb (TestSignal#test_signame): fix windows
test failure. Process.kill on windows can't send a signal to another process. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c8a3b2ba8b
commit
4d3f768b41
@ -1,3 +1,9 @@
|
|||||||
|
Tue Nov 20 14:19:20 2012 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||||
|
|
||||||
|
* test/ruby/test_signal.rb (TestSignal#test_signame): fix windows
|
||||||
|
test failure. Process.kill on windows can't send a signal to
|
||||||
|
another process.
|
||||||
|
|
||||||
Tue Nov 20 13:58:11 2012 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
Tue Nov 20 13:58:11 2012 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||||
|
|
||||||
* io.c (Init_IO): removed all rb_file_const() into file.c.
|
* io.c (Init_IO): removed all rb_file_const() into file.c.
|
||||||
|
@ -251,10 +251,10 @@ EOS
|
|||||||
STDOUT.flush
|
STDOUT.flush
|
||||||
exit 0
|
exit 0
|
||||||
end
|
end
|
||||||
sleep
|
Process.kill("INT", $$)
|
||||||
|
sleep 1 # wait signal deliver
|
||||||
EOS
|
EOS
|
||||||
sleep 0.1
|
|
||||||
Process.kill("INT", child.pid)
|
|
||||||
signame = Marshal.load(child)
|
signame = Marshal.load(child)
|
||||||
assert_equal(signame, "INT")
|
assert_equal(signame, "INT")
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user