Solaris package, was Re: Mercurial 1.3 released!

David Champion dgc at uchicago.edu
Sun Jul 5 14:10:35 CDT 2009


* On 05 Jul 2009, David Champion wrote: 
> > > cases fail. some failures are because the test suite did not use /opt/
> > > csw/bin/gdiff, but "diff" from solaris. how do we specify the diff
> > > tool used, or the path to it?
> > 
> > The testsuite uses whatever diff tool is in its path. So you could just 
> > set PATH correctly before running the test suite.
> 
> Ideally the test suite would not depend on non-POSIX extensions to POSIX
> commands.  Would a patch to the tests be feasible and acceptable?

Should have paid closer attention and noticed that this concerns -u,
so obviously a patch to use standard behavior is infeasible.  (BTW,
OpenSolaris ships two diffs, Sun and GNU, and both support -u now;
curious what Solaris version Rupert is using.)

The test could choose to use 'gdiff' when available though, since
this is a common convention on platforms where GNU tools are add-ons.
Opinions?

-- 
 -D.    dgc at uchicago.edu    NSIT    University of Chicago


More information about the Mercurial mailing list