Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Sixt <j6t@kdbg.org>2009-03-16 16:44:56 +0300
committerJohannes Sixt <j6t@kdbg.org>2009-03-22 19:52:43 +0300
commit552a26c8c069c582d2572399eb4ac176634a03cb (patch)
tree200c0d0092e7e7d84f6250bc5e6a65a283b59445 /t/t0024-crlf-archive.sh
parent6fd1106aa4f921dd8e80895ed837072adfd665f1 (diff)
Use prerequisites to skip tests that need unzip
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Diffstat (limited to 't/t0024-crlf-archive.sh')
-rwxr-xr-xt/t0024-crlf-archive.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/t0024-crlf-archive.sh b/t/t0024-crlf-archive.sh
index ae90d34f6c..c7d0324374 100755
--- a/t/t0024-crlf-archive.sh
+++ b/t/t0024-crlf-archive.sh
@@ -29,11 +29,11 @@ test_expect_success 'tar archive' '
"$UNZIP" -v >/dev/null 2>&1
if [ $? -eq 127 ]; then
say "Skipping ZIP test, because unzip was not found"
- test_done
- exit
+else
+ test_set_prereq UNZIP
fi
-test_expect_success 'zip archive' '
+test_expect_success UNZIP 'zip archive' '
git archive --format=zip HEAD >test.zip &&