Make test-bundle-type work on MacOS 10.4.11
authorChristian Ebert <blacktrash@gmx.net>
Thu, 29 May 2008 16:29:28 +0200
changeset 6640 d6b53b48943f
parent 6639 6334569c8caa
child 6641 1603bba96411
Make test-bundle-type work on MacOS 10.4.11 head on MacOS Tiger doesn't have a -c option.
tests/test-bundle-type
tests/test-bundle-type.out
--- a/tests/test-bundle-type	Wed May 28 22:45:07 2008 +0200
+++ b/tests/test-bundle-type	Thu May 29 16:29:28 2008 +0200
@@ -20,7 +20,7 @@
   hg init t$t
   cd t1
   hg bundle -t $t ../b$t ../t$t
-  head -c 6 ../b$t
+  head -n 1 ../b$t | cut -b 1-6
   cd ../t$t
   hg pull ../b$t
   hg up
--- a/tests/test-bundle-type.out	Wed May 28 22:45:07 2008 +0200
+++ b/tests/test-bundle-type.out	Thu May 29 16:29:28 2008 +0200
@@ -15,7 +15,8 @@
 % test bundle type None
 searching for changes
 1 changesets found
-HG10UNpulling from ../bNone
+HG10UN
+pulling from ../bNone
 requesting all changes
 adding changesets
 adding manifests
@@ -27,7 +28,8 @@
 % test bundle type bzip2
 searching for changes
 1 changesets found
-HG10BZpulling from ../bbzip2
+HG10BZ
+pulling from ../bbzip2
 requesting all changes
 adding changesets
 adding manifests
@@ -39,7 +41,8 @@
 % test bundle type gzip
 searching for changes
 1 changesets found
-HG10GZpulling from ../bgzip
+HG10GZ
+pulling from ../bgzip
 requesting all changes
 adding changesets
 adding manifests