Skip to content

Commit 27c96c4

Browse files
René Scharfegitster
authored andcommitted
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 <[email protected]>
1 parent 71e66ec commit 27c96c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t5000-tar-tree.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ test_expect_success \
108108
'git-archive --format=zip' \
109109
'git-archive --format=zip HEAD >d.zip'
110110

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

0 commit comments

Comments
 (0)