From: Ramsay Jones Date: Tue, 20 May 2014 13:54:20 GMT Subject: [PATCH] t6006-*.sh: Fix truncation tests Message-ID: <537B5E8C.3070803@ramsay1.demon.co.uk> Signed-off-by: Ramsay Jones --- Hi Alexey, If you need to re-roll your 'as/pretty-truncate' branch, could you please squash the relevant parts of this patch into the corresponding patches of your patch series. (ie this is a patch against the head of the current pu branch ...). Without this patch I get: $ ./t6006-rev-list-format.sh ok 1 - setup ok 2 - format percent ok 3 - format hash ok 4 - format tree ok 5 - format parents ok 6 - format author ok 7 - format committer ok 8 - format encoding ok 9 - format subject ./t6006-rev-list-format.sh: 152: ./t6006-rev-list-format.sh: Syntax error: "(" unexpected FATAL: Unexpected exit with code 2 $ (if you have bash as /bin/sh you get different but related errors). The additional quoting suppresses the 'command redirection' errors, etc... Thanks. ATB Ramsay Jones t/t6006-rev-list-format.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/t/t6006-rev-list-format.sh b/t/t6006-rev-list-format.sh index 9bc089b..e1dec3e 100755 --- a/t/t6006-rev-list-format.sh +++ b/t/t6006-rev-list-format.sh @@ -149,7 +149,7 @@ commit $head1 $added EOF -test_format subject-truncated %<($truncate_count,trunc)%s <