[PATCH] test: test-bundle-type.t needs to work more universally

Danek Duvall danek.duvall at oracle.com
Thu Nov 12 08:18:03 CST 2015


Yuya Nishihara wrote:

> On Tue, 10 Nov 2015 10:03:57 -0800, danek.duvall at oracle.com wrote:
> > # HG changeset patch
> > # User Danek Duvall <danek.duvall at oracle.com>
> > # Date 1447178290 28800
> > #      Tue Nov 10 09:58:10 2015 -0800
> > # Node ID 266a962e2b3c7497a99688996a81b203fab5bb81
> > # Parent  8b2fbe3f59b1b969878691cb472369ad0067f165
> > test: test-bundle-type.t needs to work more universally
> > 
> > The cut and head utilities on Solaris have weird differences from the GNU
> > versions.  The f helper script does a dump more nicely than those tools,
> > anyway.
> > 
> > diff --git a/tests/test-bundle-type.t b/tests/test-bundle-type.t
> > --- a/tests/test-bundle-type.t
> > +++ b/tests/test-bundle-type.t
> > @@ -34,7 +34,7 @@ test bundle types
> >    >   hg init t$t
> >    >   cd t1
> >    >   hg bundle -t $t ../b$t ../t$t
> > -  >   cut -b 1-6 ../b$t | head -n 1
> > +  >   f -q -B6 -D ../b$t; echo
> 
> Looks good to me. Should I push it for stable?

That'd be great!

Thanks,
Danek


More information about the Mercurial-devel mailing list