[csw-buildfarm] Fwd: still python problems?

Ben Walton bwalton at opencsw.org
Sat Apr 3 14:46:32 CEST 2010

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.

Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302

More information about the buildfarm mailing list