[csw-buildfarm] Fwd: still python problems?

rupert THURNER rupert at opencsw.org
Sat Apr 3 15:42:17 CEST 2010


On Sat, Apr 3, 2010 at 14:46, Ben Walton <bwalton at opencsw.org> wrote:
> Excerpts from rupert THURNER's message of Sat Apr 03 08:33:37 -0400 2010:
>
> Hi Rupert,
>
>> its a little bit unfortunate that the mercurial test suite has a "sh"
>> dogma, and the only platform really testing this is solaris resp
>> opencsw. therefor ben's solution of replacing it with bash is
>
> I'd actually say the 'problem' here is Sun's refusal to ship a POSIX
> sh as the default for fear of breaking something from 1990.
>
> POSIX sh imposes a pile limitations on script writers as it is, but
> you gain portability.  Writing _down_ to Solaris' non-conforming
> monstrosity is just masochism.
>
> I suspect the suite would run fine with /usr/xpg4/bin/sh too, which is
> a proper sh...I just suggested bash as a) it's something we control
> internally and b) it also guards against bash-isms that could
> potentially creep in.
>
> The only other real option here would be to have some sort of
> autoconf-esque 'sane sh' selection that updated the test suite
> scripts.  That replacement would look fairly similar to the GAR
> workaround I put together yesterday.  As the project isn't using
> autoconf, we might as well just do that step ourselves, since the
> issue is local to our environment.
>

checked it ben's suggestion to use bash, see
http://sourceforge.net/apps/trac/gar/changeset/9527/csw/mgar.

rupert.



More information about the buildfarm mailing list