diff options
| author | (no author) <(no author)@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-15 03:39:43 +0000 |
|---|---|---|
| committer | (no author) <(no author)@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-15 03:39:43 +0000 |
| commit | 258a7e8c4b43ec0c888351ae9dc08e7e93a62c38 (patch) | |
| tree | a3f9994b37ceed9e24a1bdb0920abd7d7ed11d17 /test/ruby/test_process.rb | |
| parent | 6df9cb06c99e90ce4bc870f50cd5481f1dba6999 (diff) | |
| download | ruby-258a7e8c4b43ec0c888351ae9dc08e7e93a62c38.tar.gz ruby-258a7e8c4b43ec0c888351ae9dc08e7e93a62c38.tar.xz ruby-258a7e8c4b43ec0c888351ae9dc08e7e93a62c38.zip | |
This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_process.rb')
| -rw-r--r-- | test/ruby/test_process.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb new file mode 100644 index 000000000..3c258f989 --- /dev/null +++ b/test/ruby/test_process.rb @@ -0,0 +1,13 @@ +require 'test/unit' + +class TestProcess < Test::Unit::TestCase + def test_rlimit + begin + Process.getrlimit + rescue NotImplementedError + assert_raise(NotImplementedError) { Process.setrlimit } + rescue ArgumentError + assert_raise(ArgumentError) { Process.setrlimit } + end + end +end |
