From: Michele Ballabio Date: Fri, 23 May 2008 14:19:43 +0000 (+0200) Subject: change quoting in test t1006-cat-file.sh X-Git-Tag: v1.5.6-rc0~8^2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6c41e21d48c369f398ee2e24085e618b55ed916d;p=git.git change quoting in test t1006-cat-file.sh Signed-off-by: Michele Ballabio Signed-off-by: Junio C Hamano --- diff --git a/t/t1006-cat-file.sh b/t/t1006-cat-file.sh index d5696765b..cb1fbe582 100755 --- a/t/t1006-cat-file.sh +++ b/t/t1006-cat-file.sh @@ -199,9 +199,9 @@ $tag_content deadbeef missing missing" -test_expect_success \ - "--batch with multiple sha1s gives correct format" \ - "test \"\$(maybe_remove_timestamp \"$batch_output\" 1)\" = \"\$(maybe_remove_timestamp \"\$(echo_without_newline \"$batch_input\" | git cat-file --batch)\" 1)\"" +test_expect_success '--batch with multiple sha1s gives correct format' ' + test "$(maybe_remove_timestamp "$batch_output" 1)" = "$(maybe_remove_timestamp "$(echo_without_newline "$batch_input" | git cat-file --batch)" 1)" +' batch_check_input="$hello_sha1 $tree_sha1