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>
René Scharfe committed
Jun 9, 2007 at 08:31 UTC
27c96c4fd38ffbde98df22699c755a043bb383d1
1 file changed
+1
-1
t/t5000-tar-tree.sh
+1
-1
@@ -108,7 +108,7 @@ test_expect_success \
108
'git-archive --format=zip' \
109
'git-archive --format=zip HEAD >d.zip'
110
111
-$UNZIP -v 2>/dev/null
111
+$UNZIP -v >/dev/null 2>&1
112
if [ $? -eq 127 ]; then
113
echo "Skipping ZIP tests, because unzip was not found"
114
test_done