On ppc64le Fedora 21, getpwnam_r("no-such-user", ...) returns ENOENT
instead of 0. Tolerate this in the test case.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
See this long discussion for the same problem on aarch64:
https://groups.google.com/d/msg/address-sanitizer/YzYRJEvVimw/qTbLWxGckXYJ
Comment Actions
Right. I see the same thing: even without the sanitizer, getpwnam_r returns ENOENT. And there's a comment from you in that discussion saying "Please change the assert to allow ENOENT in addition to 0." :-)