[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>
This commit is contained in:
Junio C Hamano 2005-06-28 23:07:34 -07:00 committed by Linus Torvalds
parent dddafffef6
commit e06eb4c6f5

View file

@ -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