Merge branch 'pw/p4-symlinked-root'
[gitweb.git] / t / test-lib.sh
index 9e7f6b424d77ee88c3cd36507cd421a437ec7bfa..1f510252ad7cb7a5afae67731bc37fccf941b654 100644 (file)
@@ -760,3 +760,9 @@ test_lazy_prereq AUTOIDENT '
 # When the tests are run as root, permission tests will report that
 # things are writable when they shouldn't be.
 test -w / || test_set_prereq SANITY
+
+GIT_UNZIP=${GIT_UNZIP:-unzip}
+test_lazy_prereq UNZIP '
+       "$GIT_UNZIP" -v
+       test $? -ne 127
+'