summaryrefslogtreecommitdiff
path: root/include/ruby/internal
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2020-05-30 00:13:56 +0900
committerYusuke Endoh <mame@ruby-lang.org>2020-05-30 00:16:44 +0900
commit58bc97628c14933b73f13e0856d1a56e70e8b0e4 (patch)
treef2e59d38086c25af9755669d988a7153e8c8644f /include/ruby/internal
parent3ed79a97b071bf7cb2f6c11cda149007e159163f (diff)
test/ruby/test_process.rb: GID.from_name may raise Errno:ESRCH
getgrnam(3) says: ``` ERRORS 0 or ENOENT or ESRCH or EBADF or EPERM or ... The given name or gid was not found. ``` Process::GID.from_name raises an ArgumentError for 0, but Errno::ESRCH for ESRCH. Actually, WSL 2 raises Errno::ESRCH. This change accepts all exceptions above.
Diffstat (limited to 'include/ruby/internal')
0 files changed, 0 insertions, 0 deletions