Project

General

Profile

« Previous | Next » 

Revision 27964795

Added by k0kubun (Takashi Kokubun) 4 days ago

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>.