diff options
author | Junio C Hamano <junkio@cox.net> | 2005-06-28 23:07:34 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-29 09:53:57 -0700 |
commit | e06eb4c6f50ece75f210a91bfcb776e537aafaae (patch) | |
tree | b60b9db831073a86e5752eb8c70fe0190d911e03 /t | |
parent | dddafffef66041689f54837ac8e9bf717bb057b4 (diff) | |
download | git-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')
-rwxr-xr-x | t/t5300-pack-object.sh | 6 |
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 |