[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