test_process.rb: test if success?

* test/ruby/test_process.rb (test_rlimit_value): should not use
  magic number 0, which may not be EXIT_SUCCESS.  use `success?`
  instead.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
process.c: preserve encodings

* process.c (rlimit_resource_type, rlimit_resource_value):
  preserve argument encoding in error messages.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2014-03-31

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e