bug-gnulib
[Top][All Lists]
Advanced

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

Re: test-xalloc-die note


From: Bruno Haible
Subject: Re: test-xalloc-die note
Date: Fri, 9 Apr 2010 11:33:42 +0200
User-agent: KMail/1.9.9

Hi Jarno,

Please keep bug-gnulib in CC when you reply to me. We have a mailing list
because the expertise for gnulib is spread across several people.

Jarno Rajahalme wrote:
> I just did that and got passes, but one skip and one "note":
> 
> ...
> PASS: test-wctype
> tr: Illegal byte sequence
> PASS: test-xalloc-die.sh
> ====================
> All 116 tests passed
> ====================
> 
> 
> What does thes mean? is it an pass or an error?

Please, always when you report a malfunctioning, or a possible
malfunctioning, include relevant details about your platform,
about tools that might affect this malfunctioning, and a "how to
reproduce". Always.

In this case, this means:
  - What's your OS? ("uname -sr")?
  - Where's the 'tr' program coming from? ("which tr")?
  - What's your locale? ("locale")?

Also, when you report a problem that arises during execution of a
shell script, it's a good idea to modify the script by adding
  set -x
near the beginning, so that it produces some traces.

After having done and reported that, can you please try this
attempted workaround (not yet committed)?


2010-04-09  Bruno Haible  <address@hidden>

        * tests/test-xalloc-die.sh: Run test in C locale.

--- tests/test-xalloc-die.sh.orig       Fri Apr  9 11:16:31 2010
+++ tests/test-xalloc-die.sh    Fri Apr  9 11:16:09 2010
@@ -18,6 +18,9 @@
 
 . "${srcdir=.}/init.sh"; path_prepend_ .
 
+LC_ALL=C
+export LC_ALL
+
 test-xalloc-die${EXEEXT} 2> err > out
 case $? in
   1) ;;




reply via email to

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