From: Alexey Shumkin Date: Tue, 20 May 2014 14:48:43 GMT Subject: [PATCH] t6006 (rev-list-format): quote format strings to avoid error on some shells Message-ID: <7a4473fce2948c31f561c6002ab0b1d5ab0ee841.1400597264.git.Alex.Crezoff@gmail.com> In-Reply-To: <537B5E8C.3070803@ramsay1.demon.co.uk> Added in 0a144b3 (t4205, t6006: add failing tests for the case when i18n.logOutputEncoding is set, 2014-05-19) tests give no error (somehow) with Bash as /bin/sh but fail for some other shells. Quote format strings to avoid errors. Signed-off-by: Alexey Shumkin Suggested-by: 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 c6e9a73..19434ad 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 <