From 1067b6142455d1f5f390d07ea722a69be4b803c4 Mon Sep 17 00:00:00 2001 From: Max Rees Date: Wed, 11 Sep 2019 06:54:54 -0500 Subject: system/coreutils: skip bogus gnulib LOGNAME test It is not necessarily true that LOGNAME will match the owner of the tty to which stdin is connected (sudo, su, ...) --- system/coreutils/gnulib-test-fixes.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'system/coreutils/gnulib-test-fixes.patch') diff --git a/system/coreutils/gnulib-test-fixes.patch b/system/coreutils/gnulib-test-fixes.patch index abe010f7d..5455cf7cd 100644 --- a/system/coreutils/gnulib-test-fixes.patch +++ b/system/coreutils/gnulib-test-fixes.patch @@ -33,3 +33,15 @@ - return 0; } +--- coreutils-8.31/gnulib-tests/test-getlogin.h 2019-01-04 10:14:43.000000000 -0600 ++++ coreutils-8.31/gnulib-tests/test-getlogin.h 2019-09-11 06:50:47.791580246 -0500 +@@ -61,6 +61,9 @@ test_getlogin_result (const char *buf, i + struct stat stat_buf; + struct passwd *pwd; + ++ fprintf (stderr, "Skipping test: this is a bogus assumption\n"); ++ exit(77); ++ + if (!isatty (STDIN_FILENO)) + { + fprintf (stderr, "Skipping test: stdin is not a tty.\n"); -- cgit v1.2.3-60-g2f50