mirror of
https://github.com/git/git
synced 2024-08-28 20:20:07 +00:00
[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:
parent
dddafffef6
commit
e06eb4c6f5
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue