Skip to content

Commit

Permalink
t5000: silence unzip availability check
Browse files Browse the repository at this point in the history
unzip -v on (at least) Ubuntu prints a screenful of version info
to stdout.  Get rid of it since we only want to know if unzip is
installed or not.

Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
  • Loading branch information
René Scharfe authored and Junio C Hamano committed Jun 9, 2007
1 parent 71e66ec commit 27c96c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/t5000-tar-tree.sh
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ test_expect_success \
'git-archive --format=zip' \
'git-archive --format=zip HEAD >d.zip'

$UNZIP -v 2>/dev/null
$UNZIP -v >/dev/null 2>&1
if [ $? -eq 127 ]; then
echo "Skipping ZIP tests, because unzip was not found"
test_done
Expand Down

0 comments on commit 27c96c4

Please sign in to comment.