# HG changeset patch # User Thomas Arendsen Hein # Date 2008-10-19 15:40:35 # Node ID 41b7802b089a50d7c55fcd9a0622cc975e6fff46 # Parent aff204c9bdd6e25f52442c9fe36337d188c75ecf 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. diff --git a/tests/test-bundle-type b/tests/test-bundle-type --- a/tests/test-bundle-type +++ b/tests/test-bundle-type @@ -20,7 +20,7 @@ for t in "None" "bzip2" "gzip"; do 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