[PATCH cooking] tests/run-tests: avoid C:/ in arguments

Mads Kiilerich mads at kiilerich.com
Sun Jun 10 08:18:42 CDT 2012


Adrian Buehlmann wrote, On 06/10/2012 12:11 PM:
> # HG changeset patch
> # User Adrian Buehlmann <adrian at cadifra.com>
> # Date 1339290359 -7200
> # Node ID 2774576dee4de16c11e8904fbe40e13116c82a7b
> # Parent  5af80d29c4411d2bb58cb4356851f0543376dcec
> tests/run-tests: avoid C:/ in arguments

Agreed, this seems to be the most elegant solution. It seems to be a 
step in the right direction and removes the regression with the test 
setup described on the wiki and used by the buildbot. Pushed to crew, 
thanks.

This cleanup means that we should avoid using $TESTTMP and $TESTDIR in 
places where sh can see them ... but that is fortunately not much of a 
problem.

We still have the 'xC:/x' problem in the places where we use `pwd` ... 
because of the alias. That could perhaps be avoided somehow, but for now 
I have pushed some workarounds.

/Mads


More information about the Mercurial-devel mailing list