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

Augie Fackler raf at durin42.com
Mon Aug 26 16:47:45 CDT 2013


On Aug 26, 2013, at 5:31 PM, Danek Duvall <danek.duvall at oracle.com> wrote:

> 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.

This was the tail that came with my ubuntu workstation (whatever latest LTS is, I think precise?)

> 
> Should I go the in-line python route?

Yeah, may as well.

>  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.  :(

I think in-line Python is probably the least bad for now :/ Let's have the test suite honestly pass on Solaris, despite its faults.

> 
> Thanks,
> Danek

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20130826/afdf8251/attachment.pgp>


More information about the Mercurial-devel mailing list