bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Coreutils-5.0 make check failed on Solaris


From: Alexandre Peshansky
Subject: Re: Coreutils-5.0 make check failed on Solaris
Date: Thu, 14 Oct 2004 12:46:45 -0400

At 07:08 PM 10/13/2004, Paul Eggert wrote:
>Alexandre Peshansky <address@hidden> writes:
>
>> As a P.S.: after I added symlink to 
>/usr/lib/locale/en_US.UTF-8/LC_CTYPE/ldterm.dat in 
>/usr/lib/locale/C/LC_CTYPE/, I re-run make check and it worked!
>
>I don't think that's a good idea, because it could well break other 
>programs.
>
>How about this change instead?
>
>2004-10-13  Paul Eggert  <address@hidden>
>
>       * tests/stty/row-col-1: Set LC_ALL=C.
>
>Index: tests/stty/row-col-1
>===================================================================
>RCS file: /fetish/cu/tests/stty/row-col-1,v
>retrieving revision 1.8
>retrieving revision 1.9
>diff -p -u -r1.8 -r1.9
>--- tests/stty/row-col-1       14 May 2003 06:27:45 -0000      1.8
>+++ tests/stty/row-col-1       13 Oct 2004 23:06:57 -0000      1.9
>@@ -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
>  

Tried (applied patch) - didn't help.  I am getting the same error on make check:

Making check in stty
make[2]: Entering directory `/home/amp/coreutils-5.2.1/tests/stty'
make  check-TESTS
make[3]: Entering directory `/home/amp/coreutils-5.2.1/tests/stty'
FAIL: row-col-1
PASS: basic-1
======================================
1 of 2 tests failed
Please report to address@hidden


Here are the first 24 lines of patched tests/stty/row-col-1 :

#! /bin/sh
# This script takes no arguments.

if test "$VERBOSE" = yes; then
  set -x
  stty --version
fi

# Setting this envvar to a very small value used to cause e.g., `stty size'
# to generate slightly different output on certain systems.
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

-- 
Alexandre Peshansky, Systems Manager, RUH, NY





reply via email to

[Prev in Thread] Current Thread [Next in Thread]