tests: init.sh: work also with any non-GNU diff that supports -u
authorBruno Haible <bruno@clisp.org>
Fri, 2 Sep 2011 08:51:52 +0000 (10:51 +0200)
committerJim Meyering <meyering@redhat.com>
Fri, 2 Sep 2011 12:08:40 +0000 (14:08 +0200)
commit0cefe580926e17c8781e8140bd9912795b6e21cc
treeeb593b96a33c47afef67dd1f49688b405319a05b
parent7490145dd0a0f016cfe893650e517d2bd2dc66d1
tests: init.sh: work also with any non-GNU diff that supports -u

* tests/init.sh: Relax check for diff -u support.
Rather than checking for GNU diff via --version, simply check
for support for -u itself.  Useful at least on OpenBSD 4.9.
tests/init.sh