]> Savannah Git Hosting - gnulib.git/commit
getlogin, getlogin_r tests: Really avoid test failure.
authorBruno Haible <bruno@clisp.org>
Sun, 19 Jun 2022 14:14:19 +0000 (16:14 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 19 Jun 2022 14:14:19 +0000 (16:14 +0200)
commit3c406e6f08f6b4dec1a3adb16477559f5235a072
treefeb27027f39812541583776734712fa2246fa542
parentd682f8de7f9d384f4cfc482a3ba2960329a8db21
getlogin, getlogin_r tests: Really avoid test failure.

Reported by Letu Ren <fantasquex@gmail.com> in
<https://lists.gnu.org/archive/html/bug-gnulib/2022-06/msg00037.html>.

* tests/test-getlogin.h (test_getlogin_result): Parse the contents of
/proc/self/loginuid as an unsigned integer.
ChangeLog
tests/test-getlogin.h