diff options
| author | Yusuke Endoh <mame@ruby-lang.org> | 2020-05-30 00:13:56 +0900 |
|---|---|---|
| committer | Yusuke Endoh <mame@ruby-lang.org> | 2020-05-30 00:16:44 +0900 |
| commit | 58bc97628c14933b73f13e0856d1a56e70e8b0e4 (patch) | |
| tree | f2e59d38086c25af9755669d988a7153e8c8644f /include/ruby | |
| parent | 3ed79a97b071bf7cb2f6c11cda149007e159163f (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')
0 files changed, 0 insertions, 0 deletions
