[PATCH] test: test-bundle-type.t needs to work more universally
danek.duvall at oracle.com
danek.duvall at oracle.com
Tue Nov 10 18:03:57 UTC 2015
# 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
> cd ../t$t
> hg debugbundle ../b$t
> echo
More information about the Mercurial-devel
mailing list