changeset 26905:0994ef28e798 stable

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.
author Danek Duvall <danek.duvall@oracle.com>
date Tue, 10 Nov 2015 09:58:10 -0800
parents a45821a808ab
children 150fb782ef80 a7eecd021782
files tests/test-bundle-type.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-bundle-type.t	Mon Nov 09 16:24:13 2015 -0600
+++ b/tests/test-bundle-type.t	Tue Nov 10 09:58:10 2015 -0800
@@ -34,7 +34,7 @@
   >   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
   >   cd ../t$t
   >   hg debugbundle ../b$t
   >   echo