On 08/24/2010 03:01 PM, Ralf Wildenhues wrote:
>>> Or, just skip that part of the test, similar to autotest.at:Syntax
>>> error. Sorry, I failed to see earlier that we have dealt with this
>>> kind of issue before elsewhere.
>> skipping sound good to me in this case.
> Tested FreeBSD and AIX sh as well as zsh, all skip instead of fail now.
> Copied the code from autotest.at. OK?
> tests: fix AC_CACHE_CHECK to skip with bad shells.
> * tests/base.at (AC_CACHE_CHECK): Skip test with malformed
> config.site file if the shell does not report syntax errors
> from a sourced file. Fixes test failure on AIX and FreeBSD.
> Report from Rainer Tammer.