getlogin tests, getlogin_r tests: Avoid failure on Solaris OpenIndiana.
commitf029c442f557902ccdacd3cca870a55761f2c2a3
authorBruno Haible <bruno@clisp.org>
Wed, 30 Dec 2020 13:58:41 +0000 (30 14:58 +0100)
committerBruno Haible <bruno@clisp.org>
Wed, 30 Dec 2020 13:58:41 +0000 (30 14:58 +0100)
tree89a54c32bc7113c10658dd0dbbb4229488f0888f
parent93e0186d47337957772979f0a6313189a7822fd1
getlogin tests, getlogin_r tests: Avoid failure on Solaris OpenIndiana.

* tests/test-getlogin.c (main): Don't fail if getlogin() returns NULL
with no errno.
* tests/test-getlogin_r.c (main): Don't fail if getlogin_r() returns
EINVAL.
ChangeLog
tests/test-getlogin.c
tests/test-getlogin_r.c