Fix test-bundle-type output by changing head|cut to cut|head.
authorThomas Arendsen Hein <thomas@intevation.de>
Sun, 19 Oct 2008 17:40:35 +0200
changeset 7171 41b7802b089a
parent 7170 aff204c9bdd6
child 7172 fb1d7a42663c
Fix test-bundle-type output by changing head|cut to cut|head. With some versions of cut the output otherwise has no end of line.
tests/test-bundle-type
--- a/tests/test-bundle-type	Sun Oct 19 15:24:33 2008 +0200
+++ b/tests/test-bundle-type	Sun Oct 19 17:40:35 2008 +0200
@@ -20,7 +20,7 @@
   hg init t$t
   cd t1
   hg bundle -t $t ../b$t ../t$t
-  head -n 1 ../b$t | cut -b 1-6
+  cut -b 1-6 ../b$t | head -n 1
   cd ../t$t
   hg pull ../b$t
   hg up