]> Savannah Git Hosting - gnulib.git/commit
getlogin_r-tests: fix various issues in recent change
authorPádraig Brady <P@draigBrady.com>
Thu, 22 May 2014 16:09:49 +0000 (17:09 +0100)
committerPádraig Brady <P@draigBrady.com>
Thu, 22 May 2014 16:24:58 +0000 (17:24 +0100)
commit11167af9538fb8526d30784ae048d45d1abc83b2
tree9c8fad51ad70b8036fe7f0253c86fc4970b91c79
parentf345edc03da1a81f313dd70305764025bffeb1fa
getlogin_r-tests: fix various issues in recent change

* tests/test-getlogin_r.c: Include required headers that were
missed in recent commit eec20b4e.
Also consistently check the errno rather than the return value from
getlogin_r as POSIX only specifies that non zero is returned on error.
* modules/getlogin_r-tests (configure.ac): Add the check for ttyname().
ChangeLog
modules/getlogin_r-tests
tests/test-getlogin_r.c