Skip to content

Commit

Permalink
[PATCH] Adjust t5300 test for unpack-objects change
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Junio C Hamano authored and Linus Torvalds committed Jun 29, 2005
1 parent dddafff commit e06eb4c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions t/t5300-pack-object.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit e06eb4c

Please sign in to comment.