change quoting in test t1006-cat-file.sh
authorMichele Ballabio <barra_cuda@katamail.com>
Fri, 23 May 2008 14:19:43 +0000 (16:19 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 23 May 2008 19:08:42 +0000 (12:08 -0700)
Signed-off-by: Michele Ballabio <barra_cuda@katamail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1006-cat-file.sh

index d5696765b1c18fb75f566a12d57870383a6a0b5d..cb1fbe5820723cbc39753fd652ec4fdafc94b988 100755 (executable)
@@ -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