[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Failed tests for gnu coreutils 5.2.1
From: |
Paul Eggert |
Subject: |
Re: Failed tests for gnu coreutils 5.2.1 |
Date: |
Tue, 19 Apr 2005 00:04:46 -0700 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux) |
"J.D. Baldwin" <address@hidden> writes:
> Note that neither -n or -G works with Solaris /usr/bin/id
Thanks for your bug report. However, that shell script actually tries
this command:
(id -nG || /usr/xpg4/bin/id -nG) 2>/dev/null
Does this not work, when run as root on your host?
It works for me (on Solaris 9).
> If I re-run it with /usr/xpg4/bin/id (which
> does work with -nG) at the head of PATH, I get the same result
> (skipped no-x test).
That will normally happen, unless you set the environment variable
NON_ROOT_USERNAME to a reasonable value, as described in the README
file for coreutils.
> If I set FETISH_GROUPS, the test fails:
I suspect that this is because the setuidgid program drops
supplementary groups, so setting FETISH_GROUPS won't work here.
> gmake[3]: Entering directory `/opt/src/coreutils-5.2.1/tests/stty'
> FAIL: row-col-1
Please try the following patch to tests/stty/row-col-1. It's
installed in coreutils CVS right now.
--- row-col-1 14 May 2003 06:27:45 -0000 1.8
+++ row-col-1 3 Jan 2005 21:25:13 -0000 1.10
@@ -11,6 +11,13 @@ fi
COLUMNS=80
export COLUMNS
+# Make sure we get English-language behavior.
+# See the report about a possibly-related Solaris problem by Alexandre
Peshansky
+# <http://lists.gnu.org/archive/html/bug-coreutils/2004-10/msg00035.html>.
+# Currently stty isn't localized, but it might be in the future.
+LC_ALL=C
+export LC_ALL
+
# Make sure there's a tty on stdin.
. $srcdir/../input-tty
@@ -19,13 +26,13 @@ export COLUMNS
tests='
1 rows_40_columns_80 40_80
-2 rows_0_columns_0 0_0
+2 rows_1_columns_1 1_1
3 rows_40_columns_80 40_80
-4 rows_0 0_80
-5 columns_0 0_0
-6 rows_40 40_0
-7 rows_0 0_0
-8 columns_80 0_80
+4 rows_1 1_80
+5 columns_1 1_1
+6 rows_40 40_1
+7 rows_1 1_1
+8 columns_80 1_80
9 rows_30 30_80
NA LAST NA
'