tests: init.sh: support any non-GNU diff
authorBruno Haible <bruno@clisp.org>
Mon, 19 Sep 2011 17:24:35 +0000 (19:24 +0200)
committerJim Meyering <meyering@redhat.com>
Mon, 19 Sep 2011 17:24:46 +0000 (19:24 +0200)
commita4fa14849a7e310d135732142df2439f8f820483
treeb386525420cdb69c60244726bf68e301b9b0266f
parent9bb92a4db127fb1025e5a4f5ff03dffe0aca6b6e
tests: init.sh: support any non-GNU diff

* tests/init.sh (compare): If "diff -c" is supported but "diff -u" is
not, use "diff -c".  Useful on AIX 6.1, HP-UX 11.31, OSF/1 5.1,
Solaris 8.
tests/init.sh