summaryrefslogtreecommitdiff
path: root/t/t5003-archive-zip.sh
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2013-03-11 01:31:47 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-03-11 03:06:19 (GMT)
commitf838ce5826a2deffff7b70986fc7392d7114013e (patch)
tree6ba10ff68dac8a7fdd7b7caf6e938581e19a6b40 /t/t5003-archive-zip.sh
parentca70c9ea7224e1e47d8ab46ea67ba9e29ce8a121 (diff)
downloadgit-f838ce5826a2deffff7b70986fc7392d7114013e.zip
git-f838ce5826a2deffff7b70986fc7392d7114013e.tar.gz
git-f838ce5826a2deffff7b70986fc7392d7114013e.tar.bz2
test-lib: factor out $GIT_UNZIP setup
We set up the $GIT_UNZIP variable and lazy prereq in multiple places (and the next patch is about to add another one). Let's factor it out to avoid repeating ourselves. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5003-archive-zip.sh')
-rwxr-xr-xt/t5003-archive-zip.sh6
1 files changed, 0 insertions, 6 deletions
diff --git a/t/t5003-archive-zip.sh b/t/t5003-archive-zip.sh
index 7cfe9ca..0f5b42b 100755
--- a/t/t5003-archive-zip.sh
+++ b/t/t5003-archive-zip.sh
@@ -3,15 +3,9 @@
test_description='git archive --format=zip test'
. ./test-lib.sh
-GIT_UNZIP=${GIT_UNZIP:-unzip}
SUBSTFORMAT=%H%n
-test_lazy_prereq UNZIP '
- "$GIT_UNZIP" -v
- test $? -ne 127
-'
-
test_lazy_prereq UNZIP_SYMLINKS '
(
mkdir unzip-symlinks &&