aboutsummaryrefslogtreecommitdiff
path: root/t/t5000-tar-tree.sh
diff options
context:
space:
mode:
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>2007-06-09 08:31:12 +0200
committerJunio C Hamano <gitster@pobox.com>2007-06-09 10:07:29 -0700
commit27c96c4fd38ffbde98df22699c755a043bb383d1 (patch)
tree615b70aacd3d10a8feb9babbca8b27d1041b52a6 /t/t5000-tar-tree.sh
parent71e66ecf0f0be3bffedd2cbfb55cab97a747c4bb (diff)
downloadgit-27c96c4fd38ffbde98df22699c755a043bb383d1.tar.gz
git-27c96c4fd38ffbde98df22699c755a043bb383d1.tar.xz
t5000: silence unzip availability check
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>
Diffstat (limited to 't/t5000-tar-tree.sh')
-rwxr-xr-xt/t5000-tar-tree.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t5000-tar-tree.sh b/t/t5000-tar-tree.sh
index 5500505d8..a6c5bf6ab 100755
--- a/t/t5000-tar-tree.sh
+++ b/t/t5000-tar-tree.sh
@@ -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