gentoo-ebuilds/sys-apps/coreutils/files/coreutils-9.5-skip-readutmp-test.patch
Sam James fc83ede26c
sys-apps/coreutils: skip test-readutmp
It reads the host entries.

Closes: https://bugs.gentoo.org/935367
Signed-off-by: Sam James <sam@gentoo.org>
2024-07-04 01:48:11 +01:00

13 lines
409 B
Diff

https://bugs.gentoo.org/935367
--- a/gnulib-tests/test-readutmp.c
+++ b/gnulib-tests/test-readutmp.c
@@ -43,6 +43,9 @@ main (int argc, char *argv[])
STRUCT_UTMP *entries;
idx_t num_entries;
+ fprintf (stderr, "Skipping test: Gentoo: examines host entries, so unreliable in ebuild\n");
+ return 77;
+
if (read_utmp (UTMP_FILE, &num_entries, &entries, 0) < 0)
{
#if READ_UTMP_SUPPORTED