[PATCH 3 of 4] solaris: tests can't use tail -n

Danek Duvall danek.duvall at oracle.com
Mon Aug 26 16:31:42 CDT 2013

Augie Fackler wrote:

> On Mon, Aug 26, 2013 at 10:28:36AM -0700, Danek Duvall wrote:
> > # HG changeset patch
> > # User Danek Duvall <danek.duvall at oracle.com>
> > # Date 1377297397 25200
> > # Node ID 7d2fe0113e5c21bc204616649256d1bb59d7d7f5
> > # Parent  bd488d5b5763ef8c4bc7b4a69e4073861e2487a1
> > solaris: tests can't use tail -n
> Afraid we'll have to come up with another solution for this:
> +  tail: cannot open `+8' for reading: No such file or directory

Bah.  I guess I was hoping that those versions were basically no longer in
use -- I tried this against coreutils 8.16, and it works just fine.

Should I go the in-line python route?  I'm hoping that Solaris tail will
grow the -n option reasonably soon, so I could just drop this for now, and
recognize this as an acceptable error, but it'd be nice to have clean test
runs.  I could also just patch our local builds.  Or give up on not using
the GNU utilities.  No solution is particularly attractive to me.  :(


More information about the Mercurial-devel mailing list