Subject: Re: bug#8846: coreutils-8.12 on HP-UX 11.31: 3 of 365 tests failed

From: Bruno Haible <[email-masked]>
Date: Mon, 13 Jun 2011 14:07:38 +0200

Jim Meyering wrote:
> --- a/tests/init.sh
> +++ b/tests/init.sh
> @@ -74,7 +74,7 @@ Exit () { set +e; (exit $1); exit $1; }
>  # the reason for skip/failure to console, rather than to the .log files.
>  : ${stderr_fileno_=2}
> 
> -warn_ () { echo "$@" 1>&$stderr_fileno_; }
> +warn_ () { eval 'echo "$@" 1>&'"$stderr_fileno_"; }
>  fail_ () { warn_ "$ME_: failed test: $@"; Exit 1; }
>  skip_ () { warn_ "$ME_: skipped test: $@"; Exit 77; }
>  framework_failure_ () { warn_ "$ME_: set-up failure: $@"; Exit 99; }

After applying this patch, here's the test-suite.log that I now get.

-- 
In memoriam Anna Göldi <http://en.wikipedia.org/wiki/Anna_Göldi>