git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 8/8] change quoting in test t1006-cat-file.sh

From
Michele Ballabio <barra_cuda@katamail.com>
Date
May 23, 2008, 14:19 UTC
Message-ID
<1211552384-29636-9-git-send-email-barra_cuda@katamail.com>
In-Reply-To
<1211552384-29636-1-git-send-email-barra_cuda@katamail.com>
Signed-off-by: Michele Ballabio <barra_cuda@katamail.com>
---
 t/t1006-cat-file.sh |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/t/t1006-cat-file.sh b/t/t1006-cat-file.sh
index d569676..cb1fbe5 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
-- 
1.5.5.1
Previous: Michele BallabioNext: Michele Ballabio
Message 9 of 10 in “Speed up git-svn”
  1. 0/8 Speed up git-svnMichele Ballabio, May 23, 2008
  2. 1/8 Move git-hash-object tests from t5303 to t1007Michele Ballabio, May 23, 2008
  3. 2/8 Add more tests for git hash-objectMichele Ballabio, May 23, 2008
  4. 3/8 git-hash-object: Add --stdin-paths optionMichele Ballabio, May 23, 2008
  5. 4/8 Git.pm: Add command_bidi_pipe and command_close_bidi_pipeMichele Ballabio, May 23, 2008
  6. 5/8 Git.pm: Add hash_and_insert_object and cat_blobMichele Ballabio, May 23, 2008
  7. 6/8 git-svn: Speed up fetchMichele Ballabio, May 23, 2008
  8. 7/8 builtin-cat-file.c: use parse_options()Michele Ballabio, May 23, 2008
  9. 8/8 change quoting in test t1006-cat-file.shMichele Ballabio, May 23, 2008
  10. Michele BallabioMay 23, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.