* tests/test-init.sh: Skip "diff -u"-comparing step when compare
resolves to diff -c or cmp. Reported by Bruno Haible.
+2012-01-05 Jim Meyering <meyering@redhat.com>
+
+ test-init.sh: avoid failure on HP-UX 11.00
+ * tests/test-init.sh: Skip "diff -u"-comparing step when compare
+ resolves to diff -c or cmp. Reported by Bruno Haible.
+
2012-01-05 Bruno Haible <bruno@clisp.org>
Tests for module 'strtoull'.
+xyz
EOF
sed 's/ .*//;/^@@/d' out > k && mv k out
- compare exp out || fail=1
+
+ # Check the expected output only if compare is using diff -u.
+ if $(exec 2>/dev/null; diff -u out out < /dev/null); then
+ compare exp out || fail=1
+ fi
case $- in *x*) ;; *) test -s err && fail_ "err not empty: $(cat err)";; esac
}