X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft0024-crlf-archive.sh;h=c7d0324374e9df5131a58a9ae0cadf7ee4dc03e7;hb=05c95dbe44b42f9c3f7efe6793d311a26e1b8181;hp=e5330395fc866b2a913b4b20ecb66f1f2a3bbaff;hpb=b43b73666be32ecdc27384d67dc88e4b4869efa1;p=git.git diff --git a/t/t0024-crlf-archive.sh b/t/t0024-crlf-archive.sh index e5330395f..c7d032437 100755 --- a/t/t0024-crlf-archive.sh +++ b/t/t0024-crlf-archive.sh @@ -28,12 +28,12 @@ test_expect_success 'tar archive' ' "$UNZIP" -v >/dev/null 2>&1 if [ $? -eq 127 ]; then - echo "Skipping ZIP test, because unzip was not found" - test_done - exit + say "Skipping ZIP test, because unzip was not found" +else + test_set_prereq UNZIP fi -test_expect_success 'zip archive' ' +test_expect_success UNZIP 'zip archive' ' git archive --format=zip HEAD >test.zip &&