[PATCH] tests: fix bashism to load helpers.sh

Yuya Nishihara yuya at tcha.org
Fri May 21 09:05:38 CDT 2010


Mads Kiilerich wrote:
> On 05/21/2010 01:58 PM, Yuya Nishihara wrote:
> > # HG changeset patch
> > # User Yuya Nishihara<yuya at tcha.org>
> > # Date 1274442918 -32400
> > # Node ID f3f629e183212d1fd689818b366e79391cc1951b
> > # Parent  f974fe89692159da0724795eae4c7dd881ad8696
> > tests: fix bashism to load helpers.sh
> >
> > `source` isn't available at POSIX sh.
> 
> That should perhaps also be added to 
> http://mercurial.selenic.com/wiki/WritingTests and checked in 
> contrib/check-code.py

Thanks for pointing it out.
I updated the wiki:

> * don't use "source" to load another script; use "." instead.


Yuya,


More information about the Mercurial-devel mailing list