summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-13 01:02:28 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-13 01:02:28 +0000
commitfeff0bd161ce120f68794c9bad85e4582db47173 (patch)
tree0b6dbae0864a0ad3fabe3da14b8875ef3174232a /test
parenta9b7eed721ce21707462e3cbd525aae20faf8da4 (diff)
merges r20621 from trunk into ruby_1_9_1.
* test/ruby/test_bignum.rb (TestBignum#test_convert): remove platform dependent call of Process.wait. coverage should be accomplished by other method. [ruby-dev:36062] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_bignum.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/test/ruby/test_bignum.rb b/test/ruby/test_bignum.rb
index f6e9e65544..b60622fb17 100644
--- a/test/ruby/test_bignum.rb
+++ b/test/ruby/test_bignum.rb
@@ -196,18 +196,6 @@ class TestBignum < Test::Unit::TestCase
assert_equal([255], [T_MONE].pack("C").unpack("C"))
assert_equal([0], [T32].pack("C").unpack("C"))
assert_raise(RangeError) { 0.to_s(T32) }
- assert_raise(Errno::EINVAL) do
- begin Process.wait(0, T32P); rescue Errno::ECHILD; end
- begin Process.wait(0, T64P); rescue Errno::ECHILD; end
- end
- assert_raise(RangeError) do
- begin Process.wait(0, T32); rescue Errno::ECHILD; end
- begin Process.wait(0, T64); rescue Errno::ECHILD; end
- end
- assert_raise(RangeError) do
- begin Process.wait(0, -T32P); rescue Errno::ECHILD; end
- begin Process.wait(0, -T64P); rescue Errno::ECHILD; end
- end
end
def test_sub