test: test-bundle-type.t needs to work more universally stable
authorDanek Duvall <danek.duvall@oracle.com>
Tue, 10 Nov 2015 09:58:10 -0800
branchstable
changeset 26905 0994ef28e798
parent 26891 a45821a808ab
child 26908 150fb782ef80
child 26933 a7eecd021782
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.
tests/test-bundle-type.t
--- 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