mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Delay signal bit more.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3d2468240d
commit
8e7b572d97
1 changed files with 2 additions and 2 deletions
|
@ -587,7 +587,7 @@ class TestProcess < Test::Unit::TestCase
|
||||||
puts "ok"
|
puts "ok"
|
||||||
end
|
end
|
||||||
EOS
|
EOS
|
||||||
sleep 0.1
|
sleep 0.5
|
||||||
Process.kill(:USR1, io.pid)
|
Process.kill(:USR1, io.pid)
|
||||||
assert_equal("ok\n", io.read)
|
assert_equal("ok\n", io.read)
|
||||||
}
|
}
|
||||||
|
@ -602,7 +602,7 @@ class TestProcess < Test::Unit::TestCase
|
||||||
trap(:USR1) { print "trap\n" }
|
trap(:USR1) { print "trap\n" }
|
||||||
system("cat", :in => "fifo")
|
system("cat", :in => "fifo")
|
||||||
EOS
|
EOS
|
||||||
sleep 0.1
|
sleep 0.5
|
||||||
Process.kill(:USR1, io.pid)
|
Process.kill(:USR1, io.pid)
|
||||||
sleep 0.1
|
sleep 0.1
|
||||||
File.write("fifo", "ok\n")
|
File.write("fifo", "ok\n")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue