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.
>>>
>> Yes,
>> 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?
>
> Thanks,
> Ralf
>
> 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.
Good to go.
--
Eric Blake
eblake@redh... +1-801-349-2682
Libvirt virtualization library
http://libvirt.org
opensubscriber is not affiliated with the authors of this message nor responsible for its content.