From 552a26c8c069c582d2572399eb4ac176634a03cb Mon Sep 17 00:00:00 2001 From: Johannes Sixt Date: Mon, 16 Mar 2009 14:44:56 +0100 Subject: Use prerequisites to skip tests that need unzip Signed-off-by: Johannes Sixt --- t/t0024-crlf-archive.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 't/t0024-crlf-archive.sh') 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 && -- cgit v1.2.1