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

[PATCH] Adjust t5300 test for unpack-objects change

From
Junio C Hamano <junkio@cox.net>
Date
Jun 29, 2005, 06:07 UTC
Message-ID
<7v4qbhk861.fsf_-_@assigned-by-dhcp.cox.net>
In-Reply-To
<7vacl9k8iz.fsf@assigned-by-dhcp.cox.net>

It now always read from standard input and rejects non-flag arguments.

Signed-off-by: Junio C Hamano <junkio@cox.net>
---
cd /opt/packrat/playpen/public/in-place/git/git.junio/
jit-diff
# - linus: Fix packed_delta_info() that was broken by the delta header packing change
# + (working tree)
diff --git a/t/t5300-pack-object.sh b/t/t5300-pack-object.sh
--- a/t/t5300-pack-object.sh
+++ b/t/t5300-pack-object.sh
@@ -45,7 +45,8 @@ test_expect_success \
     'GIT_OBJECT_DIRECTORY=.git2/objects &&
      export GIT_OBJECT_DIRECTORY &&
      git-init-db &&
-     git-unpack-objects test-1'
+     git-unpack-objects -n <test-1.pack &&
+     git-unpack-objects <test-1.pack'
 
 unset GIT_OBJECT_DIRECTORY
 cd $TRASH/.git2
@@ -75,7 +76,8 @@ test_expect_success \
     'GIT_OBJECT_DIRECTORY=.git2/objects &&
      export GIT_OBJECT_DIRECTORY &&
      git-init-db &&
-     git-unpack-objects test-2'
+     git-unpack-objects -n <test-2.pack &&
+     git-unpack-objects <test-2.pack'
 
 unset GIT_OBJECT_DIRECTORY
 cd $TRASH/.git2

Compilation finished at Tue Jun 28 23:06:08
Previous: Linus Torvalds
Message 9 of 9 in “denser delta header encoding”
  1. denser delta header encodingNicolas Pitre, Jun 29, 2005
  2. Junio C HamanoJun 29, 2005
  3. Linus TorvaldsJun 29, 2005
  4. Junio C HamanoJun 29, 2005
  5. Linus TorvaldsJun 29, 2005
  6. Nicolas PitreJun 29, 2005
  7. Junio C HamanoJun 29, 2005
  8. Linus TorvaldsJun 29, 2005
  9. Adjust t5300 test for unpack-objects changeJunio C Hamano, Jun 29, 2005

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.