summaryrefslogtreecommitdiff
path: root/system/coreutils/gnulib-test-fixes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/coreutils/gnulib-test-fixes.patch')
-rw-r--r--system/coreutils/gnulib-test-fixes.patch12
1 files changed, 12 insertions, 0 deletions
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");