diff options
author | Bruno Haible <bruno@clisp.org> | 2022-06-06 11:55:04 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2022-06-06 12:13:47 +0200 |
commit | edbf01f92b772439260c6a245669a045038d53e3 (patch) | |
tree | 66e16a30772db6db2a30aa5d9fa922f671c4fa6f /modules/fopen-gnu | |
parent | 4d9ec6cb01a8425bd59a1fdf71caa1d48b10cfcc (diff) | |
download | gnulib-edbf01f92b772439260c6a245669a045038d53e3.tar.gz |
getlogin, getlogin_r tests: Avoid test failure in specific environments.
Reported by Letu Ren <fantasquex@gmail.com> in
<https://lists.gnu.org/archive/html/bug-gnulib/2022-06/msg00001.html>.
* modules/getlogin-tests (Depends-on): Add stdbool.
* modules/getlogin_r-tests (Depends-on): Likewise.
* tests/test-getlogin.h: Include stdbool.h.
(test_getlogin_result): On Linux, skip the test if /proc/self/loginuid
contains "-1".
Diffstat (limited to 'modules/fopen-gnu')
0 files changed, 0 insertions, 0 deletions