[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: coreutils-8.12.178-df9cd on OpenBSD 4.9
From: |
Pádraig Brady |
Subject: |
Re: coreutils-8.12.178-df9cd on OpenBSD 4.9 |
Date: |
Fri, 02 Sep 2011 09:40:20 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20110707 Thunderbird/5.0 |
On 09/02/2011 01:37 AM, Bruno Haible wrote:
> Jim Meyering wrote:
>> Since that systems lacks
>> a version of diff, we get far-less-useful cmp output
>
> That system (OpenBSD 4.9) has a version of diff that understands
> the options -c and -u:
>
> $ type diff
> diff is /usr/bin/diff
> $ diff -help
> usage: diff [-abdilpTtw] [-c | -e | -f | -n | -q | -u] [-I pattern] [-L label]
> file1 file2
> diff [-abdilpTtw] [-I pattern] [-L label] -C number file1 file2
> diff [-abdiltw] [-I pattern] -D string file1 file2
> diff [-abdilpTtw] [-I pattern] [-L label] -U number file1 file2
> diff [-abdilNPprsTtw] [-c | -e | -f | -n | -q | -u] [-I pattern]
> [-L label] [-S name] [-X file] [-x pattern] dir1 dir2
>
> It looks like your check in tests/init.sh is too pessimistic:
>
> if ( diff --version < /dev/null 2>&1 | grep GNU ) > /dev/null 2>&1; then
> compare () { diff -u "$@"; }
>
> Change that to
>
> if ( diff -u "$0" "$0" < /dev/null ) > /dev/null 2>&1; then
> compare () { diff -u "$@"; }
>
> and you should receive better output.
>
>> maybe run the tests with a better shell in your path?
>
> I have bash in my $PATH. I don't know what you mean by "run the tests
> with a better shell"; I'm only running "./configure; make; make check".
> If you want the generated .log files and tests/test-suite.log to
> contain more informative output, you have to change the test framework
> or the Makefile.am so that it uses the 'bash' that it can find in my
> $PATH.
>
> Or are you referring to some environment variable SHELL_FOR_TESTS that
> I should set (and that I don't know about)?
You can do this:
make check SHELL=bash
I'll document that now.
cheers,
Pádraig.
- Re: [Platform-testers] new snapshot available: coreutils-8.12.178-df9cd, Bruno Haible, 2011/09/01
- coreutils-8.12.178-df9cd on MacOS X 10.5, Bruno Haible, 2011/09/01
- coreutils-8.12.178-df9cd on FreeBSD 6.4, Bruno Haible, 2011/09/01
- coreutils-8.12.178-df9cd on OpenBSD 4.9, Bruno Haible, 2011/09/01
- Re: coreutils-8.12.178-df9cd on OpenBSD 4.9, Jim Meyering, 2011/09/01
- Re: coreutils-8.12.178-df9cd on OpenBSD 4.9, Jim Meyering, 2011/09/01
- Re: coreutils-8.12.178-df9cd on OpenBSD 4.9, Bruno Haible, 2011/09/01
- Re: coreutils-8.12.178-df9cd on OpenBSD 4.9,
Pádraig Brady <=
- Re: coreutils-8.12.178-df9cd on OpenBSD 4.9, Bruno Haible, 2011/09/02
- Re: coreutils-8.12.178-df9cd on OpenBSD 4.9, Pádraig Brady, 2011/09/02
- Re: coreutils-8.12.178-df9cd on OpenBSD 4.9, Jim Meyering, 2011/09/02
- Re: coreutils-8.12.178-df9cd on OpenBSD 4.9, Pádraig Brady, 2011/09/02
- Re: coreutils-8.12.178-df9cd on OpenBSD 4.9, Jim Meyering, 2011/09/02
Re: coreutils-8.12.178-df9cd on OpenBSD 4.9, Pádraig Brady, 2011/09/01
coreutils-8.12.178-df9cd on AIX, Bruno Haible, 2011/09/01