summaryrefslogtreecommitdiff
path: root/t/t5300-pack-object.sh
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-06-28 23:07:34 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-29 09:53:57 -0700
commite06eb4c6f50ece75f210a91bfcb776e537aafaae (patch)
treeb60b9db831073a86e5752eb8c70fe0190d911e03 /t/t5300-pack-object.sh
parentdddafffef66041689f54837ac8e9bf717bb057b4 (diff)
downloadgit-e06eb4c6f50ece75f210a91bfcb776e537aafaae.tar.gz
[PATCH] Adjust t5300 test for unpack-objects change
It now always read from standard input and rejects non-flag arguments. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 't/t5300-pack-object.sh')
-rwxr-xr-xt/t5300-pack-object.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/t/t5300-pack-object.sh b/t/t5300-pack-object.sh
index d993120120..4be9d53e9c 100755
--- 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