]> Savannah Git Hosting - gnulib.git/commit
getlogin_r-tests: check return value rather than errno
authorPádraig Brady <P@draigBrady.com>
Thu, 22 May 2014 16:49:33 +0000 (17:49 +0100)
committerPádraig Brady <P@draigBrady.com>
Thu, 22 May 2014 16:52:39 +0000 (17:52 +0100)
commit98ca2c063cfe019b673fd0ce81448c919e9c989c
tree8eb23dbb892628dfad1c2a986e6d90480ed62bd5
parent11167af9538fb8526d30784ae048d45d1abc83b2
getlogin_r-tests: check return value rather than errno

* tests/test-getlogin_r.c (main): As per POSIX we should be
verifying the return value from getlogin_r() rather than errno.
ChangeLog
tests/test-getlogin_r.c