summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorMichele Ballabio <barra_cuda@katamail.com>2008-05-23 16:19:43 +0200
committerJunio C Hamano <gitster@pobox.com>2008-05-23 12:08:42 -0700
commit6c41e21d48c369f398ee2e24085e618b55ed916d (patch)
treea51c977f2e8dba8b533202f032e2ffc2e986acc1 /t
parent15d8e5651948e3914f4b765d7d1dc1bc2f5c4073 (diff)
downloadgit-6c41e21d48c369f398ee2e24085e618b55ed916d.tar.gz
change quoting in test t1006-cat-file.sh
Signed-off-by: Michele Ballabio <barra_cuda@katamail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
-rwxr-xr-xt/t1006-cat-file.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/t1006-cat-file.sh b/t/t1006-cat-file.sh
index d5696765b1..cb1fbe5820 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