[PATCH STABLE] treediscovery: rename stop() in tests to fix failures on AIX
Jim Hague
jim.hague at acm.org
Tue Jul 5 05:55:18 CDT 2011
On Tuesday 05 Jul 2011 04:42:15 timeless wrote:
> Sounds like we might want a check-code like thing for this (if we can
> get it to check tests...)
>
> On 7/4/11, Jim Hague <jim.hague at acm.org> wrote:
> > treediscovery: rename stop() in tests to fix failures on AIX.
> >
> > It seems ksh, the default shell on AIX, does not permit the creation of a
> > function called stop(). test-treediscovery.t and
> > test-treediscovery-legacy.t both fail on AIX with error 'syntax error at
> > line 25 : `(' unexpected'.
I'd missed the shell script checks in check-code.py. I'll add a check for that
and resubmit the patch. Running test-check-code-hg.py does check the tests.
--
Jim Hague - jim.hague at acm.org Never trust a computer you can't lift.
More information about the Mercurial-devel
mailing list