diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-21 21:35:08 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-21 21:35:08 +0000 |
commit | 492dbb3b06963a37c749c72e326e92d62b60f71b (patch) | |
tree | d25e76373c237f8c71b2e3c018c6d5e04f36a21f /bootstraptest/test_fork.rb | |
parent | 4936741799e338add76c812d0a47190a68c4e1ab (diff) | |
download | ruby-492dbb3b06963a37c749c72e326e92d62b60f71b.tar.gz ruby-492dbb3b06963a37c749c72e326e92d62b60f71b.tar.xz ruby-492dbb3b06963a37c749c72e326e92d62b60f71b.zip |
* bootstraptest/test_fork.rb: skip if fork is not unsupported.
* bootstraptest/test_io.rb: skip if require failed.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest/test_fork.rb')
-rw-r--r-- | bootstraptest/test_fork.rb | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/bootstraptest/test_fork.rb b/bootstraptest/test_fork.rb index ae8d9e174..743c22c25 100644 --- a/bootstraptest/test_fork.rb +++ b/bootstraptest/test_fork.rb @@ -1,6 +1,10 @@ assert_equal '0', %q{ - GC.stress = true - pid = fork {} - Process.wait pid - $?.to_i + begin + GC.stress = true + pid = fork {} + Process.wait pid + $?.to_i + rescue NotImplementedError + 0 + end }, '[ruby-dev:32404]' |