* bootstraptest/test_fork.rb: skip if fork is not unsupported.

* bootstraptest/test_io.rb: skip if require failed.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2007-12-21 21:35:08 +00:00
parent ac42f7adf9
commit 5a1cf1c5cb
3 changed files with 30 additions and 17 deletions

View File

@ -1,3 +1,9 @@
Sat Dec 22 06:30:04 2007 Koichi Sasada <ko1@atdot.net>
* bootstraptest/test_fork.rb: skip if fork is not unsupported.
* bootstraptest/test_io.rb: skip if require failed.
Sat Dec 22 06:09:12 2007 David Flanagan <david@davidflanagan.com>
* io.c: fix typo in rdoc comment

View File

@ -1,6 +1,10 @@
assert_equal '0', %q{
begin
GC.stress = true
pid = fork {}
Process.wait pid
$?.to_i
rescue NotImplementedError
0
end
}, '[ruby-dev:32404]'

View File

@ -9,6 +9,7 @@ assert_finish 5, %q{
}, '[ruby-dev:31866]'
assert_finish 10, %q{
begin
require "io/nonblock"
r, w = IO.pipe
w.nonblock = true
@ -22,4 +23,6 @@ assert_finish 10, %q{
r.sysread(4096).length
t1.join
t2.join
rescue LoadError
end
}, '[ruby-dev:32566]'