[PATCH] test case fixes for Solaris

Matt Mackall mpm at selenic.com
Wed Aug 21 16:18:27 CDT 2013


On Wed, 2013-08-21 at 13:50 -0700, Danek Duvall wrote:
> # HG changeset patch
> # User Danek Duvall <danek.duvall at oracle.com>
> # Date 1377115773 25200
> # Node ID 5e7ec26663958bc8fc51ee3ab517274268b4f498
> # Parent  6ac206fb6f27492a98f46bbff090407ee1b1de72
> test case fixes for Solaris
> 
> Solaris versions of grep, diff, tail, and sed are different from the GNU
> versions, causing some test cases to fail.  Work around these differences
> in OS-independent ways.

Horrors. How did these persist so long?

I think we probably shouldn't accept these without corresponding checks
in contrib/check-code.py otherwise these will just be recurring problems
that people on more mainstream Unices won't notice. Please separate out
each class of breakage into a separate patch and include a corresponding
check.

Also, please start your patch summaries with a relevant keyword, like
"solaris:".

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list