]> 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>
Wed, 31 Aug 2022 23:13:38 +0000 (01:13 +0200)
commitceb4b0b1a7625275314a3376dd667f284e81d2ee
treea5bedb75651e4e9d05e6127ecbcc4d72aad81d8d
parent2e401687bf8a09459dd58427f5348eedd95ba1c5
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