Re: [PATCH] tests: init.sh: work also with any non-GNU diff that supports -u

2011-09-02 Thread Bruno Haible
Jim Meyering wrote: > > 2011-09-02 Bruno Haible > > > > * tests/init.sh (compare): If "diff -c" is supported but "diff -u" is > > not, use "diff -c". > > Good idea. Thanks. OK, I pushed that as well. Bruno -- In memoriam Robert Mensah

Re: [PATCH] tests: init.sh: work also with any non-GNU diff that supports -u

2011-09-02 Thread Jim Meyering
Bruno Haible wrote: > Jim Meyering wrote: >> FYI, I've just pushed this in Bruno's name: > > I see it pushed in coreutils, not in gnulib. > >> Rather than checking for GNU diff via --version, simply check >> for support for -u itself. Useful at least on OpenBSD 4.9. > > Also useful on AIX 7.1, IRI

Re: [PATCH] tests: init.sh: work also with any non-GNU diff that supports -u

2011-09-02 Thread Bruno Haible
Jim Meyering wrote: > FYI, I've just pushed this in Bruno's name: I see it pushed in coreutils, not in gnulib. > Rather than checking for GNU diff via --version, simply check > for support for -u itself. Useful at least on OpenBSD 4.9. Also useful on AIX 7.1, IRIX 6.5, Solaris 10. And on AIX 6

[PATCH] tests: init.sh: work also with any non-GNU diff that supports -u

2011-09-02 Thread Jim Meyering
FYI, I've just pushed this in Bruno's name: >From 0cfe1ace2814772d708260aaa8938196222afd5d Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 2 Sep 2011 14:13:59 +0200 Subject: [PATCH] tests: init.sh: work also with any non-GNU diff that supports -u * tests/init.sh: Relax chec