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>
Michele Ballabio committed
May 23, 2008 at 16:19 UTC
6c41e21d48c369f398ee2e24085e618b55ed916d
1 file changed
+3
-3
t/t1006-cat-file.sh
+3
-3
@@ -199,9 +199,9 @@ $tag_content
199
deadbeef missing
200
missing"
201
202
-test_expect_success \
203
- "--batch with multiple sha1s gives correct format" \
204
- "test \"\$(maybe_remove_timestamp \"$batch_output\" 1)\" = \"\$(maybe_remove_timestamp \"\$(echo_without_newline \"$batch_input\" | git cat-file --batch)\" 1)\""
202
+test_expect_success '--batch with multiple sha1s gives correct format' '
203
+ test "$(maybe_remove_timestamp "$batch_output" 1)" = "$(maybe_remove_timestamp "$(echo_without_newline "$batch_input" | git cat-file --batch)" 1)"
204
+'
205
206
batch_check_input="$hello_sha1
207
$tree_sha1