test-framework-sh: Fix test failure with AIX 7.1 diff.
authorBruno Haible <bruno@clisp.org>
Sat, 28 Jan 2012 22:29:16 +0000 (23:29 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 28 Jan 2012 22:31:18 +0000 (23:31 +0100)
commit8feea9a035bea5041151828b99ba7ac557024a6a
tree018beb78dbd4ce462e2fa2054806c3c3fc2b8aa4
parent82f7e927e27fc886c514e3146494a2f1c310dffa
test-framework-sh: Fix test failure with AIX 7.1 diff.

* tests/init.sh (compare_): Don't use 'diff -u' if it inserts a space
in column 1, like 'diff -c' does.
* tests/test-init.sh (test_compare): Don't repeat the test from init.sh
whether 'diff -u' is used. Instead, test whether the output contains
some '@' character.
ChangeLog
tests/init.sh
tests/test-init.sh