Takashi Kokubun 2796479589 test_process.rb: UID.from_name may raise Errno::ENOENT
See: 58bc97628c1

getpwnam(3) says the same thing. I got ENOENT in my Linux environment.

  1) Failure:
TestProcess#test_uid_from_name [/home/k0kubun/src/github.com/ruby/ruby/test/ruby/test_process.rb:1685]:
Exception(ArgumentError) with message matches to /\u{4e0d 5b58 5728}/.
[ArgumentError] exception expected, not #<Errno::ENOENT: No such file or directory - getpwnam_r>.
2025-07-16 10:42:22 -07:00
..
2025-06-19 16:49:28 +09:00